POST rolealiases
POST
/rolealiasesAuthorizationBearer <token>
Paste your JWT token here
In: header
The data transfer object containing the role alias definition.
namestring
The name of the role alias.
Length
0 <= length <= 100roleId?integer
The id of the role that this alias belongs to.
Format
int32Response Body
application/json
application/json
application/json
curl -X POST "https://loading/rolealiases" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"id": 0,
"roleId": 0,
"role": {
"id": 0,
"name": "string"
},
"name": "string"
}{
"message": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}