ApiTenants
Create new tenant
Create a new tenant
Authorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
name?string
Length
length <= 255attributes?object
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://test.sweetconnect.io/api/auth/v1/tenants" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"tenant": {
"id": "string",
"name": "string",
"activated": true,
"attributes": {}
}
},
"meta": {
"responseTime": 0
}
}{
"statusCode": 0,
"message": "string",
"error": "string"
}{
"statusCode": 0,
"message": "string",
"error": "string"
}{
"statusCode": 0,
"message": "string",
"error": "string"
}