1. Docs
  2. API Reference
  3. Remove a platform admin from the Account

Remove a platform admin from the Account

DELETE/portal/v1/accounts/{accountSlug}/members/{memberId}

Authentication

  • Bearer Token Authorization

    JWT access token

Path Parameters

Name Required Type Description
memberIdRequiredstring

Code samples

cURLJavaScriptPythonGo
curl -X DELETE "https://api.canopy.dev/portal/v1/accounts/{accountSlug}/members/value" \
  -H "Authorization: Bearer $CANOPY_TOKEN"

Responses

204 Member removed
401 Invalid or expired token
403 This token is not authorized for this endpoint (wrong principal type — e.g., admin token on identity-only endpoint, or vice versa)
On this page

Related endpoints

GETList platform-admin members of the Account