Required role: owner.
Explicitly create a tenant, rather than relying on first login.
A login resolves its tenant by name, so a user whose identity provider
asserts this name lands in the tenant created here. Fails with a conflict if
the name is already taken.
| Request Body — REQUIRED |
|---|
name string — REQUIRED |
| Responses |
|---|
| Schema — OPTIONAL |
|---|
id uuid | name string |
|
403
Caller is not a platform owner | Schema — OPTIONAL |
|---|
detailsDetailed error metadata.
The contents of this field is determined by error_code. | error_code stringError code is a string that specifies this error type. | message stringHuman-readable error message. |
|
409
A tenant with that name already exists | Schema — OPTIONAL |
|---|
detailsDetailed error metadata.
The contents of this field is determined by error_code. | error_code stringError code is a string that specifies this error type. | message stringHuman-readable error message. |
|
| Schema — OPTIONAL |
|---|
detailsDetailed error metadata.
The contents of this field is determined by error_code. | error_code stringError code is a string that specifies this error type. | message stringHuman-readable error message. |
|