Update an existing role
Modify the properties of an existing role by providing its unique ID and updated details.
PATCH
Parameters
Path Parameters
OrganizationId
REQUIRED
Unique identifier of the organization
RoleId
REQUIRED
Unique identifier of the organization role
Body
application/jsonDescription
Updated description for the role
Permissions
REQUIRED
Updated list of permissions for the role
| Status code | Description |
|---|---|
| 200 | An empty response |
| 400 | Bad request error - the request contains invalid parameters or malformed data |
| 500 | Internal server error - an unexpected error occurred on the server |
cURL
curl -L -X PATCH \"https://blockv-labs.io/organizations/{organizationId}/roles/{roleId}" \-H 'Accept: application/json'
json
{"type": "object"}