Create New Role
Request
POST <REST API URL>/roles?fields=string
Parameter | Description |
---|---|
fields | Optional query parameter. Specifies a subset of the fields to be returned. Use Fields Syntax to define subset. |
Request Body
role
{
"id": string,
"aliasIds": [string, ...],
"aliases": [alias, ...],
"url": string,
"key": string,
"name": string,
"description": string,
"teamRole": boolean,
"permissions": [permission, ...]
}
Response
Response body
role
{
"id": string,
"aliasIds": [string, ...],
"aliases": [alias, ...],
"url": string,
"key": string,
"name": string,
"description": string,
"teamRole": boolean,
"permissions": [permission, ...]
}
Last modified: 6 April 2017