Skip to content
Start here

Organizations

List Organizations
Deprecated
client.User.Organizations.List(ctx, query) (*V4PagePaginationArray[Organization], error)
GET/user/organizations
Organization Details
Deprecated
client.User.Organizations.Get(ctx, organizationID) (*OrganizationGetResponse, error)
GET/user/organizations/{organization_id}
Leave Organization
Deprecated
client.User.Organizations.Delete(ctx, organizationID) (*OrganizationDeleteResponse, error)
DELETE/user/organizations/{organization_id}
ModelsExpand Collapse
type Organization struct{…}
ID stringoptional

Identifier

maxLength32
minLength32
Name stringoptional

Organization name.

maxLength100
Permissions []Permissionoptional

Access permissions for this User.

Roles []stringoptional

List of roles that a user has within an organization.

Status Statusoptional

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