Skip to navigation

Set up the tenant of the caller's organization

View as Markdown

Sets up the tenant of an organization that was created somewhere else, the same way as the organization create: the tenant itself, then the default space. The organization comes from the session: its organization when it carries one, else the organization the caller already belongs to. Idempotent: an organization that already has its tenant answers provisioned: false and nothing changes. Creates no organization and no membership.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

The organization and whether this call set up its tenant.
organizationIdstring
tenantSlugstring
provisionedboolean

Errors

403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error