Update a role

POSThttp://localhost:4000/api/permissionsRoles/update

Changes the name or description of a role. Always send name.

Your API key needs the permissionsRoles.MANAGE_ORG_ROLES permission.

Body Params

idintegerrequired

ID of the role.

namestringrequired

Role name.

descriptionstring

What the role is for.

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.