Create Team Role
POST {{baseUrl}}/v2/teams/:identifier/roles?teamIdentifierType=id
Creates a new team role
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
teamIdentifierType | string | Type of the identifier. Possible values are 'id' and 'name'. Default value is 'id' |
Request Body
{"name"=>"<string>", "rights"=>[{"right"=>"consectetur mollit", "granted"=>true}, {"right"=>"est voluptate Lorem", "granted"=>true}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"requestId":"ipsum Excepteur magna ut","took":0,"result":"ipsum culpa","data":{"id":"nulla dolor Lorem non","name":"dolor magna sunt consequat"}}