Dashboard
Create a tenant
POST/v1/me/tenants
Self-serve: the signed-in person becomes the new tenant's owner.
A person can own at most 5 tenants (422 tenant_limit).
Body application/json
namestringrequired
Responses
201Createdobject
Created; the caller is its owner
idstringExample:
ten_8f2c91a7namestringrole"owner"
400Bad RequestError
Invalid request
errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject
422Unprocessable ContentError
tenant_limit: the person already owns 5 tenants.errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject