ApiTenants
Update an existing tenant by ID
Update an existing tenant by ID
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
tenantId*string
The ID of tenant to update
Request Body
application/json
name?string
Length
length <= 255attributes?object
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://test.sweetconnect.io/api/auth/v1/tenants/string" \ -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"
}{
"statusCode": 0,
"message": "string",
"error": "string"
}{
"statusCode": 0,
"message": "string",
"error": "string"
}