Platform

Choose which organisation to work in

Validates an organisation against this credential and returns its modules, tier and your permissions there. IT PERSISTS NOTHING — the server keeps no "current organisation". To act in the organisation you chose, pass tenant=<id> on every subsequent tool call.

Examples

  • Work on Rossi SRL instead GET /api/v1/rest/tenants/rossi-srl
get/api/v1/rest/tenants/{target}

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/tenants/{target}
  • Auth: HTTP bearer

Path parameters

targetstring required

The organisation to switch to: its id or its slug.

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.