/api/ee/tenant

POST /api/ee/tenant

Changed on

Create a new Tenant

post/api/ee/tenant

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

attributesobject nullable

Value must be a map.

namestring required

value must be a non-blank string.

slugstring required

invalid slug

Response

Successful response

attributesobject nullable
idinteger required

value must be an integer greater than zero.

is_activeboolean required

value must be a valid boolean string ('true' or 'false').

member_countinteger

value must be an integer.

namestring required

value must be a non-blank string.

slugstring required

invalid slug

tenant_collection_idinteger required

value must be an integer greater than zero.

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      added subschema #1 subschema #2 to the response property anyOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response property oneOf list for the response status

    • breaking

      api path removed without deprecation

    • info

      endpoint added