DELETE rbac/roles/:role id
From Social ID Developers
Revision as of 00:32, 18 November 2022 by Gabriel.prado (Talk | contribs)
Contents |
Description
Deletes a Role.
Resource URL
DELETE https://api.socialidnow.com/v1/rbac/roles/:role_id
Parameters
URL Parameters
role_id | required | role identifier. |
---|
Authentication
This API requires Account authentication. See Authentication.
Response
Response Status
ok (200) | The role was deleted successfully. |
---|---|
unauthorized (401) | The authentication is wrong. See Authentication. |
forbidden (403) | The account does not have access to this role. |
internal_server_error (500) | An unknown error happened. |
Examples
Request
curl -iX DELETE 'https://api.socialidnow.com/v1/rbac/roles/1' \ --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf
Response
Response Headers
HTTP/1.1 200 OK Status: 200