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
- application/json
Body
rolename string
username string
Responses
- 200
Add Role
Response Headers
- Date - string 
- Server - string 
- Set-Cookie - string 
- Transfer-Encoding - string 
- X-Content-Type-Options - string 
- X-Frame-Options - string 
- application/json
- Schema
- Example (from schema)
- Add Role
Schema
message string
{
  "message": " Tasks created. IDs:: 673975 "
}
{
  "message": " Tasks created. IDs:: 673975 "
}
Loading...