curl --request PATCH \
--url http://localhost:3000/v1/roles/{id} \
--header 'Content-Type: application/json' \
--data '
{
"description": "<string>"
}
'{
"success": true,
"role": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"is_system": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Update a role’s description
curl --request PATCH \
--url http://localhost:3000/v1/roles/{id} \
--header 'Content-Type: application/json' \
--data '
{
"description": "<string>"
}
'{
"success": true,
"role": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"is_system": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}