POST roles
POST
/rolesAuthorizationBearer <token>
Paste your JWT token here
In: header
The data transfer object containing the initial role configuration.
namestring
The name of the role.
Length
0 <= length <= 100Response Body
application/json
application/json
application/json
curl -X POST "https://loading/roles" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"id": 0,
"name": "string"
}{
"message": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}