Delete API v1 role by ID
Changed ondelete/api/v1/role/{id}
Request
- The document declares no server URL.
- Auth: HTTP bearer
Path parameters
idstring required
ID of the role
Example:1
Response
OK
Example response
{
"$schema": "https://example.com/schemas/RoleResponse.json",
"id": "1",
"name": "admin",
"permissions": [
{
"$schema": "https://example.com/schemas/PermissionResponse.json",
"action": "create",
"id": "1",
"resource": "user"
}
]
}Changes
- ○
endpoint added
- ○