Skip to main content
PATCH
/
api
/
v2
/
orgs
/
{orgUuid}
/
roles
/
{roleUuid}
cURL
curl --request PATCH \
  --url http://api/v2/orgs/{orgUuid}/roles/{roleUuid} \
  --header 'Content-Type: application/json' \
  --data '
{
  "scopes": {
    "remove": [
      "<string>"
    ],
    "add": [
      "<string>"
    ]
  },
  "description": "<string>",
  "name": "<string>"
}
'
{
  "results": {
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "ownerType": "user",
    "organizationUuid": "<string>",
    "description": "<string>",
    "name": "<string>",
    "roleUuid": "<string>"
  },
  "status": "ok"
}

Path Parameters

orgUuid
string
required
roleUuid
string
required

Body

application/json
scopes
object
description
string
name
string

Response

Success

results
object
required
status
enum<string>
required
Available options:
ok