/api/v1/admin/tenants (POST)
POST
/api/v1/admin/tenants
const url = 'https://example.com/api/v1/admin/tenants';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","ownerEmail":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/admin/tenants \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "ownerEmail": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
string
ownerEmail
required
null | string
Example generated
{ "name": "example", "ownerEmail": "example"}Responses
Section titled “Responses”OK