Cabinet
Revoke an access grant — either the cabinet or the client may. 409 invalid_transition when already revoked. (scope: grants:write)
POST
bearerAuthheader
AuthorizationBearer <token>API key as Bearer token
id*stringAccess grant id
Format
uuidOK
application/json- response
data?error?nullcurl -X POST "https://example.com/cabinet/access-grants/497f6eca-6276-4993-bfeb-53cbbbba6f08/revoke"{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "revoked", "revoked_by": "cabinet" }, "error": null}Cabinet requests access to a managed client — creates a PENDING grant the client admin approves in the app. 201 created, 200 when a live grant already exists; 403 not_a_cabinet; 422 client_not_linked. (scope: grants:write) POST
Previous Page
Sellable product catalog with synced prices (scope: articles:read) GET
Next Page