Skip to main content
PATCH
/
api
/
authorization
/
v1
/
roles
/
{roleId}
/
authorities
Update Role Authorities
curl --request PATCH \
  --url https://{instance}.domo.com/api/authorization/v1/roles/{roleId}/authorities \
  --header 'Content-Type: application/json' \
  --header 'X-DOMO-Developer-Token: <api-key>' \
  --data '
[
  "dataset.manage",
  "dataset.export"
]
'
{
  "status": "<string>",
  "message": "<string>"
}

Authorizations

X-DOMO-Developer-Token
string
header
required

Path Parameters

roleId
integer
required

The ID of the role to updated

Body

application/json

Response

200 - application/json

HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8

status
string
message
string