---
title: Memberships
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Memberships

##### [List Memberships](https://developers.cloudflare.com/api/typescript/resources/memberships/methods/list)

client.memberships.list(MembershipListParams {account, direction, name, 4 more } query?, RequestOptionsoptions?): V4PagePaginationArray< [Membership](<https://developers.cloudflare.com/api/typescript/resources/memberships#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)>) {id, account, api\_access\_enabled, 3 more } >

GET/memberships

##### [Membership Details](https://developers.cloudflare.com/api/typescript/resources/memberships/methods/get)

client.memberships.get(stringmembershipID, RequestOptionsoptions?): [MembershipGetResponse](<https://developers.cloudflare.com/api/typescript/resources/memberships#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)>) {id, account, api\_access\_enabled, 4 more }

GET/memberships/{membership\_id}

##### [Update Membership](https://developers.cloudflare.com/api/typescript/resources/memberships/methods/update)

client.memberships.update(stringmembershipID, MembershipUpdateParams {status } body, RequestOptionsoptions?): [MembershipUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/memberships#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)>) {id, account, api\_access\_enabled, 4 more }

PUT/memberships/{membership\_id}

##### [Delete Membership](https://developers.cloudflare.com/api/typescript/resources/memberships/methods/delete)

client.memberships.delete(stringmembershipID, RequestOptionsoptions?): [MembershipDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/memberships#(resource)%20memberships%20%3E%20(model)%20membership_delete_response%20%3E%20(schema)>) {id }

DELETE/memberships/{membership\_id}

##### ModelsExpand Collapse

<details>

<summary>

Membership {id, account, api\_access\_enabled, 3 more }

</summary>

id?: string

Membership identifier tag.

maxLength32

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account?: <a href="https://developers.cloudflare.com/api/typescript/resources/accounts#(resource)%20accounts%20%3E%20(model)%20account%20%3E%20(schema)">Account</a> {id, name, type, 3 more }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20account">Link to this property</a>

api\_access\_enabled?: boolean| null

Enterprise only. Indicates whether or not API access is enabled specifically for this user on a given account.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20api_access_enabled">Link to this property</a>

<details>

<summary>

permissions?: Permissions {analytics, billing, cache\_purge, 9 more }

All access permissions for the user at the account.

</summary>

analytics?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20analytics">Link to this property</a>

billing?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20billing">Link to this property</a>

cache\_purge?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20cache_purge">Link to this property</a>

dns?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns">Link to this property</a>

dns\_records?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns_records">Link to this property</a>

lb?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20lb">Link to this property</a>

logs?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20logs">Link to this property</a>

organization?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20organization">Link to this property</a>

ssl?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20ssl">Link to this property</a>

waf?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20waf">Link to this property</a>

zone\_settings?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zone_settings">Link to this property</a>

zones?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zones">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20permissions">Link to this property</a>

roles?: Array&lt;string&gt;

List of role names the membership has for this account.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20roles">Link to this property</a>

<details>

<summary>

status?: "accepted"| "pending"| "rejected"

Status of this membership.

</summary>

One of the following:

"accepted"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"rejected"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20memberships%20%3E%20(model)%20membership%20%3E%20(schema)>)

<details>

<summary>

MembershipGetResponse {id, account, api\_access\_enabled, 4 more }

</summary>

id?: string

Membership identifier tag.

maxLength32

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account?: <a href="https://developers.cloudflare.com/api/typescript/resources/accounts#(resource)%20accounts%20%3E%20(model)%20account%20%3E%20(schema)">Account</a> {id, name, type, 3 more }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20account">Link to this property</a>

api\_access\_enabled?: boolean| null

Enterprise only. Indicates whether or not API access is enabled specifically for this user on a given account.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20api_access_enabled">Link to this property</a>

<details>

<summary>

permissions?: Permissions {analytics, billing, cache\_purge, 9 more }

All access permissions for the user at the account.

</summary>

analytics?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20analytics">Link to this property</a>

billing?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20billing">Link to this property</a>

cache\_purge?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20cache_purge">Link to this property</a>

dns?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns">Link to this property</a>

dns\_records?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns_records">Link to this property</a>

lb?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20lb">Link to this property</a>

logs?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20logs">Link to this property</a>

organization?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20organization">Link to this property</a>

ssl?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20ssl">Link to this property</a>

waf?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20waf">Link to this property</a>

zone\_settings?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zone_settings">Link to this property</a>

zones?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zones">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20permissions">Link to this property</a>

<details>

<summary>

policies?: Array&lt;Policy&gt;

Access policy for the membership

</summary>

id?: string

Policy identifier.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

access?: "allow"| "deny"

Allow or deny operations against the resources.

</summary>

One of the following:

"allow"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%200">Link to this property</a>

"deny"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access">Link to this property</a>

<details>

<summary>

permission\_groups?: Array&lt;PermissionGroup&gt;

A set of permission groups that are specified to the policy.

</summary>

id: string

Identifier of the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

meta?: Meta {category, deprecated, description, 5 more }

Attributes associated to the permission group.

</summary>

category?: string

A category used to group permission groups.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20category">Link to this property</a>

deprecated?: string

Indicates whether the permission group is deprecated.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20deprecated">Link to this property</a>

description?: string

Additional information about the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20description">Link to this property</a>

editable?: string

Indicates whether the permission group can be edited.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20editable">Link to this property</a>

eol\_at?: string

The planned end-of-life date and time, when provided.

formatdate-time

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20eol_at">Link to this property</a>

label?: string

A label identifying the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20label">Link to this property</a>

scopes?: string

The scope associated with the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20scopes">Link to this property</a>

visibility?: string

Indicates the permission group’s availability or visibility.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20visibility">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups">Link to this property</a>

<details>

<summary>

resource\_groups?: Array&lt;ResourceGroup&gt;

A list of resource groups that the policy applies to.

</summary>

id: string

Identifier of the resource group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

scope: Scope {key, objects }

A scope is a combination of scope objects which provides additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Account ID etc.)

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20key">Link to this property</a>

<details>

<summary>

objects: Array&lt;Object&gt;

A list of scope objects for additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Zone ID etc.)

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects%20%3E%20(items)%20%3E%20(property)%20key">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

<details>

<summary>

meta?: Meta {key, value }

Attributes associated to the resource group.

</summary>

key?: string

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20key">Link to this property</a>

value?: string

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the resource group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20policies">Link to this property</a>

roles?: Array&lt;string&gt;

List of role names the membership has for this account.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20roles">Link to this property</a>

<details>

<summary>

status?: "accepted"| "pending"| "rejected"

Status of this membership.

</summary>

One of the following:

"accepted"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"rejected"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20memberships%20%3E%20(model)%20membership_get_response%20%3E%20(schema)>)

<details>

<summary>

MembershipUpdateResponse {id, account, api\_access\_enabled, 4 more }

</summary>

id?: string

Membership identifier tag.

maxLength32

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account?: <a href="https://developers.cloudflare.com/api/typescript/resources/accounts#(resource)%20accounts%20%3E%20(model)%20account%20%3E%20(schema)">Account</a> {id, name, type, 3 more }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20account">Link to this property</a>

api\_access\_enabled?: boolean| null

Enterprise only. Indicates whether or not API access is enabled specifically for this user on a given account.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20api_access_enabled">Link to this property</a>

<details>

<summary>

permissions?: Permissions {analytics, billing, cache\_purge, 9 more }

All access permissions for the user at the account.

</summary>

analytics?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20analytics">Link to this property</a>

billing?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20billing">Link to this property</a>

cache\_purge?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20cache_purge">Link to this property</a>

dns?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns">Link to this property</a>

dns\_records?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns_records">Link to this property</a>

lb?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20lb">Link to this property</a>

logs?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20logs">Link to this property</a>

organization?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20organization">Link to this property</a>

ssl?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20ssl">Link to this property</a>

waf?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20waf">Link to this property</a>

zone\_settings?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zone_settings">Link to this property</a>

zones?: <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a> {read, write }

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zones">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20permissions">Link to this property</a>

<details>

<summary>

policies?: Array&lt;Policy&gt;

Access policy for the membership

</summary>

id?: string

Policy identifier.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

access?: "allow"| "deny"

Allow or deny operations against the resources.

</summary>

One of the following:

"allow"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%200">Link to this property</a>

"deny"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access">Link to this property</a>

<details>

<summary>

permission\_groups?: Array&lt;PermissionGroup&gt;

A set of permission groups that are specified to the policy.

</summary>

id: string

Identifier of the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

meta?: Meta {category, deprecated, description, 5 more }

Attributes associated to the permission group.

</summary>

category?: string

A category used to group permission groups.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20category">Link to this property</a>

deprecated?: string

Indicates whether the permission group is deprecated.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20deprecated">Link to this property</a>

description?: string

Additional information about the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20description">Link to this property</a>

editable?: string

Indicates whether the permission group can be edited.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20editable">Link to this property</a>

eol\_at?: string

The planned end-of-life date and time, when provided.

formatdate-time

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20eol_at">Link to this property</a>

label?: string

A label identifying the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20label">Link to this property</a>

scopes?: string

The scope associated with the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20scopes">Link to this property</a>

visibility?: string

Indicates the permission group’s availability or visibility.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20visibility">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the permission group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups">Link to this property</a>

<details>

<summary>

resource\_groups?: Array&lt;ResourceGroup&gt;

A list of resource groups that the policy applies to.

</summary>

id: string

Identifier of the resource group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

scope: Scope {key, objects }

A scope is a combination of scope objects which provides additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Account ID etc.)

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20key">Link to this property</a>

<details>

<summary>

objects: Array&lt;Object&gt;

A list of scope objects for additional context.

</summary>

key: string

This is a combination of pre-defined resource name and identifier (like Zone ID etc.)

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects%20%3E%20(items)%20%3E%20(property)%20key">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

<details>

<summary>

meta?: Meta {key, value }

Attributes associated to the resource group.

</summary>

key?: string

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20key">Link to this property</a>

value?: string

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

name?: string

Name of the resource group.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20policies">Link to this property</a>

roles?: Array&lt;string&gt;

List of role names the membership has for this account.

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20roles">Link to this property</a>

<details>

<summary>

status?: "accepted"| "pending"| "rejected"

Status of this membership.

</summary>

One of the following:

"accepted"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"rejected"

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20memberships%20%3E%20(model)%20membership_update_response%20%3E%20(schema)>)

<details>

<summary>

MembershipDeleteResponse {id }

</summary>

id?: string

Membership identifier tag.

maxLength32

<a href="#(resource)%20memberships%20%3E%20(model)%20membership_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20memberships%20%3E%20(model)%20membership_delete_response%20%3E%20(schema)>)