curl --request DELETE \
--url https://apix.us.amity.co/api/v3/roles/{roleId} \
--header 'Authorization: Bearer <token>'
{
"status": "<string>",
"data": [
{
"roleId": "<string>",
"displayName": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"permissions": [
"<string>"
],
"isDeleted": false
}
]
}
Delete a role
curl --request DELETE \
--url https://apix.us.amity.co/api/v3/roles/{roleId} \
--header 'Authorization: Bearer <token>'
{
"status": "<string>",
"data": [
{
"roleId": "<string>",
"displayName": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"permissions": [
"<string>"
],
"isDeleted": false
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
role id to delete
1 - 100
Role Information
The response is of type object
.