Search + K

Command Palette

Search for a command to run...

Sign In

List Organizations

Deprecated
GET /user/organizations
Copy endpoint
https://api.cloudflare.com/client/v4

Lists organizations the user is associated with.

Parameters

query Query Parameters

Name Type
name
type IamSchemasName = string
page
number
per_page
number
order
"id" | "name" | "status"
direction
"asc" | "desc"
match
"any" | "all"
status
"member" | "invited"

Responses

200 application/json

List Organizations response

type IamCollectionOrganizationResponse = type IamApiResponseCollection = never & { result?: IamOrganization
interface IamOrganization {
id?: IamCommonComponentsSchemasIdentifier;
name?: IamSchemasName;
permissions?: IamSchemasPermissions;
roles?: readonly string[];
status?: IamComponentsSchemasStatus;
}
[]
; }

Client Errors

4XX application/json

List Organizations response failure

interface IamApiResponseCommonFailure {
errors: IamSchemasMessages
type IamSchemasMessages = {
code: number;
documentation_url?: string;
message: string;
source?: { pointer?: string; };
}
[]
;
messages: IamSchemasMessages
type IamSchemasMessages = {
code: number;
documentation_url?: string;
message: string;
source?: { pointer?: string; };
}
[]
;
result: null;
success: false;
}