Add Default Role to Default Roles of a Service
Request
POST <REST API URL>/services/{service id}/defaultroles?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, ...], "key": string, "name": string, "description": string, "teamRole": boolean, "permissions": [permission, ...] }
Response
Response body
role
{ "id": string, "aliasIds": [string, ...], "aliases": [alias, ...], "key": string, "name": string, "description": string, "teamRole": boolean, "permissions": [permission, ...] }
Last modified: 19 July 2017