Create Team Role

POST {{baseUrl}}/v2/teams/:identifier/roles?teamIdentifierType=id

Creates a new team role

Request Params

KeyDatatypeRequiredDescription
teamIdentifierTypestringType 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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;requestId&quot;:&quot;ipsum Excepteur magna ut&quot;,&quot;took&quot;:0,&quot;result&quot;:&quot;ipsum culpa&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;nulla dolor Lorem non&quot;,&quot;name&quot;:&quot;dolor magna sunt consequat&quot;}}