Create Roles

Create one or more roles.

SecurityOAuth2
Request
header Parameters
content-type
string
Example: application/json
Authorization
string
Example: Bearer <token>
Request Body schema: application/json
Array of objects

Provide a role object for each role you wish to create.

Responses
200

Successful Request. Security Roles Created Successfully.

202

Successful Request. Task Started Successfully.

400

One or more required parameters are missing or invalid.

401

Authentication failed (unauthorized).

403

Forbidden. You do not have permissions to perform this action, or your connection information is not correct.

503

The server is too busy to handle the request.

post/security/roles
Request samples
application/json
{
  • "roles": [
    ]
}
Response samples
application/json
[
  • {
    }
]