roles

put/roles/{id}

Path parameters

idinteger required

id of the role

Request body

namestring
descriptionstring

Example request

{
  "name": "Admin",
  "description": "Administrator with full access to the system."
}

Response

role

messagestring

Example response

{
  "message": "accepted",
  "data": {
    "id": 1,
    "name": "Admin",
    "description": "Administrator with full access to the system."
  }
}

Changes