API referenceYour account
Switch to another account the person belongs to
Hosted console only; remembered in a cookie.
AuthorizationBearer <token>
A management key, made in the console. It acts as an admin of its account.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/organizations/select" \ -H "Content-Type: application/json" \ -d '{ "organization_id": "string" }'{ "mode": "cloudflare_access", "via": "session", "user": { "email": "string", "name": "string", "email_verified": true }, "email": "string", "organization": { "id": "string", "name": "string" }, "role": "owner", "organizations": [ { "id": "string", "name": "string", "role": "owner" } ]}Who is calling, and for which account
Who is calling, and for which account (GET /v1/admin/session) in the SyncPilled API. Accepts a management key or a console sign-in.
Rename the account
Rename the account (PATCH /v1/admin/organization) in the SyncPilled API. Accepts a management key or a console sign-in.