Memberships

memberships

Methods

Delete Membership -> Envelope<{ id }>
delete/memberships/{membership_id}

Remove the associated member from an account.

Security
API Email + API Key

The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

Example: X-Auth-Email: user@example.com

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194

Accepted Permissions (at least one required)

Memberships Write

Parameters
membership_id: string
(maxLength: 32)

Membership identifier tag.

Response fields
errors: Array<>
messages: Array<>
success: true

Whether the API call was successful

result: { id }
Optional
Request example
200Example
Membership Details -> Envelope<{ id, account, api_access_enabled, 4 more... }>
get/memberships/{membership_id}

Get a specific membership.

List Memberships -> V4PagePaginationArray<>
get/memberships

List memberships of accounts the user can access.

Update Membership -> Envelope<{ id, account, api_access_enabled, 4 more... }>
put/memberships/{membership_id}

Accept or reject this account invitation.

Domain types

Membership = { id, account, api_access_enabled, 3 more... }