---
title: Organizations
---

[Skip to content](#_top)

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

[User](https://developers.cloudflare.com/api/typescript/resources/user)

Copy Markdown

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

---

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

# Organizations

##### [List Organizations](https://developers.cloudflare.com/api/typescript/resources/user/subresources/organizations/methods/list)

Deprecated

client.user.organizations.list(OrganizationListParams {direction, match, name, 4 more } query?, RequestOptionsoptions?): V4PagePaginationArray< [Organization](<https://developers.cloudflare.com/api/typescript/resources/user#(resource)%20user.organizations%20%3E%20(model)%20organization%20%3E%20(schema)>) {id, name, permissions, 2 more } >

GET/user/organizations

##### [Organization Details](https://developers.cloudflare.com/api/typescript/resources/user/subresources/organizations/methods/get)

Deprecated

client.user.organizations.get(stringorganizationID, RequestOptionsoptions?): [OrganizationGetResponse](<https://developers.cloudflare.com/api/typescript/resources/user#(resource)%20user.organizations%20%3E%20(model)%20organization_get_response%20%3E%20(schema)>)

GET/user/organizations/{organization\_id}

##### [Leave Organization](https://developers.cloudflare.com/api/typescript/resources/user/subresources/organizations/methods/delete)

Deprecated

client.user.organizations.delete(stringorganizationID, RequestOptionsoptions?): [OrganizationDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/user#(resource)%20user.organizations%20%3E%20(model)%20organization_delete_response%20%3E%20(schema)>) {id }

DELETE/user/organizations/{organization\_id}

##### ModelsExpand Collapse

<details>

<summary>

Organization {id, name, permissions, 2 more }

</summary>

id?: string

Identifier

maxLength32

minLength32

<a href="#(resource)%20user.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

name?: string

Organization name.

maxLength100

<a href="#(resource)%20user.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

permissions?: Array&lt;<a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission%20%3E%20(schema)">Permission</a>&gt;

Access permissions for this User.

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

roles?: Array&lt;string&gt;

List of roles that a user has within an organization.

<a href="#(resource)%20user.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20roles">Link to this property</a>

status?: <a href="https://developers.cloudflare.com/api/typescript/resources/accounts#(resource)%20accounts.members%20%3E%20(model)%20status%20%3E%20(schema)">Status</a>

Whether the user is a member of the organization or has an invitation pending.

<a href="#(resource)%20user.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20user.organizations%20%3E%20(model)%20organization%20%3E%20(schema)>)

OrganizationGetResponse = unknown

[Link to this property](<#(resource)%20user.organizations%20%3E%20(model)%20organization_get_response%20%3E%20(schema)>)

<details>

<summary>

OrganizationDeleteResponse {id }

</summary>

id?: string

Identifier

maxLength32

minLength32

<a href="#(resource)%20user.organizations%20%3E%20(model)%20organization_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20user.organizations%20%3E%20(model)%20organization_delete_response%20%3E%20(schema)>)