Tenants

create new tenant

post/tenants

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /tenants
  • Auth
    none declared

Headers

x-tenant-idstring

Optional header to set the context to a specific tenant. Only needed when the --multi-tenant feature is enabled. Default value is 'default'

Request body

Response

Ok

idstring required
createdAtstring date-time required
updatedAtstring date-time
typestring required
storageVersionstring required

Example response

{
  "id": "821f9b26-ad04-4f56-89b6-e2ef9c72b36e"
}

Changes

    • info

      the endpoint scheme security tenants was removed from the API

    • info

      added the new optional header request parameter x-tenant-id

    • breaking

      added the new required request property /

    • breaking

      the request property type changed from no type to object

    • info

      added the new optional request property /