You can delete a role within a workspace, if the user role permits to do that.

curl -X DELETE http://localhost:4500/workspace/role/0e74ca35
{
  "data": {
    "rowsAffected": 1
  }
}