Skip to content
Endless Documentation

Reset Permissions Roles

DELETE
/organizations/{organization_id}/roles

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Path Parameters

organization_id*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/organizations/org_abc123/roles" \  -H "Content-Type: application/json" \  -d '{    "role": "org:admin"  }'
{  "role": "org:admin",  "permissions": [    "billing:manage"  ]}