tenants_tenants_create
POST/tenants/tenants/
Tenant Viewset
Request
- application/json
Body
required
schema_name stringrequired
Possible values: non-empty
and <= 63 characters
name stringrequired
Possible values: non-empty
ready boolean
Responses
- 201
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
tenant_uuid uuidrequired
schema_name stringrequired
Possible values: <= 63 characters
name stringrequired
ready boolean
{
"tenant_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"schema_name": "string",
"name": "string",
"ready": true
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Loading...