---
title: Organizations
---

[Skip to content](#_top)

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

[User](https://developers.cloudflare.com/api/go/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/go/resources/user/subresources/organizations/methods/list)

Deprecated

client.User.Organizations.List(ctx, query) (\*V4PagePaginationArray\[[Organization](<https://developers.cloudflare.com/api/go/resources/user#(resource)%20user.organizations%20%3E%20(model)%20organization%20%3E%20(schema)>)], error)

GET/user/organizations

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

Deprecated

client.User.Organizations.Get(ctx, organizationID) (\*[OrganizationGetResponse](<https://developers.cloudflare.com/api/go/resources/user#(resource)%20user.organizations%20%3E%20(model)%20OrganizationGetResponse%20%3E%20(schema)>), error)

GET/user/organizations/{organization\_id}

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

Deprecated

client.User.Organizations.Delete(ctx, organizationID) (\*[OrganizationDeleteResponse](<https://developers.cloudflare.com/api/go/resources/user#(resource)%20user.organizations%20%3E%20(model)%20OrganizationDeleteResponse%20%3E%20(schema)>), error)

DELETE/user/organizations/{organization\_id}

##### ModelsExpand Collapse

<details>

<summary>

type Organization struct{…}

</summary>

ID stringOptional

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 stringOptional

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 \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission%20%3E%20(schema)">Permission</a>Optional

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 \[]stringOptional

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/go/resources/accounts#(resource)%20accounts.members%20%3E%20(model)%20status%20%3E%20(schema)">Status</a>Optional

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)>)