curl --request DELETE \ --url https://api.identety.dev/roles/{id} \ --header 'x-api-key: <api-key>'
{ "id": "uuid-123", "name": "admin_role", "description": "Administrator role with full access", "is_system": false, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Role deleted successfully
The response is of type object.
object