Permissions

Update role

Update a role

put/roles/{id}

Path parameters

idstring required

MongoDB ObjectId represented as a hexadecimal string

Object ID

Request body

_idstring

MongoDB ObjectId represented as a hexadecimal string

namestring

Name of the role

descriptionstring

Description of the role

created_atstring date-time
updated_atstring date-time
created_bystring

MongoDB ObjectId represented as a hexadecimal string

updated_bystring

MongoDB ObjectId represented as a hexadecimal string

Response

Role updated successfully

codeinteger
messagestring
dataobject

Changes