Skip to main content

Add Role

POST 

/addrole

This API adds role to user.

The Authorization must have Bearer followed by Token.

Mandatory params:

username, rolename

Request

Path Parameters

    path stringrequired

Body

    rolename string
    username string

Responses

Add Role

Response Headers

  • Date

    string

  • Server

    string

  • Set-Cookie

    string

  • Transfer-Encoding

    string

  • X-Content-Type-Options

    string

  • X-Frame-Options

    string

Schema

    message string
Loading...