Update Role
POST/org/:orgId/roles/:roleId
Update an existing Role
Request
Path Parameters
orgId stringrequired
The Organization ID (UUID) for which you are querying.
roleId stringrequired
The role ID (UUID) for which you are querying.
- application/json
Body
required
any
Responses
- 200
Success.
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"status": {
"i18n_message": "response.ok",
"message": "OK"
},
"response": {
"id": "b77d6615-fee8-4457-697f-bb2e1f79fc51",
"title": "Design Center Role NEW NAME",
"permissions": [
{
"id": "dc_user",
"name": "designcenter.user"
},
{
"id": "queries_view",
"name": "queries.view"
},
{
"id": "aggregates_view",
"name": "aggregates.view"
},
{
"id": "object_create",
"name": "object.create"
}
]
}
}
{
"status": {
"i18n_message": "response.ok",
"message": "OK"
},
"response": {
"id": "b77d6615-fee8-4457-697f-bb2e1f79fc51",
"title": "Design Center Role NEW NAME",
"permissions": [
{
"id": "dc_user",
"name": "designcenter.user"
},
{
"id": "queries_view",
"name": "queries.view"
},
{
"id": "aggregates_view",
"name": "aggregates.view"
},
{
"id": "object_create",
"name": "object.create"
}
]
}
}
Loading...