contracts
Lists all roles for a specified contract
You need to be a member of the Contract’s scope to access this resource
get/contracts/{contract_id}/roles
Path parameters
contract_idstring required
Contract identifier
Response
OK
Example response
{
"data": {
"id": "5b4f337bff4304610483ba67",
"attributes": {
"roles": [
{
"i18n": {
"en": "Admin"
},
"role": "admin",
"permissions": [
"contracts.workspace.create",
"contracts.workspace.listAll",
"contracts.workspace.delete",
"contracts.repository.edit",
"contracts.devTeam.edit",
"global.auth_clients.create",
"global.auth_clients.get",
"global.auth_clients.edit",
"global.auth_clients.delete"
],
"scope": "contracts"
}
]
},
"relationships": {
"tenant": {
"data": {
"id": "5b4f337bff4304610483ba67"
},
"links": {
"self": "/v2/tenants/5b4f337bff4304610483ba67\""
}
}
}
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.