Organizations

Create an organization

Changed on

Create a new organization with the given data.

post/api/organizations

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/organizations
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Request body

tenantIdstring
namestring required

The name of the organization.

descriptionstring nullable

The description of the organization.

customDataobject

arbitrary

isMfaRequiredboolean
isTrustedDeviceAllowedboolean
customCssstring nullable
createdAtnumber

Response

The organization was created successfully.

tenantIdstring required
idstring required
namestring required
descriptionstring nullable required
customDataobject required

arbitrary

isMfaRequiredboolean required
isTrustedDeviceAllowedboolean required
customCssstring nullable required
createdAtnumber required

Changes

    • info

      added the new optional request property

    • info

      added the required property to the response with the status