Organization Management

Create Organization

Changed on

Create an organization

post/auth/organization/create

Request

  • Base URL
    https://cloud.kaneo.app/api
  • URL
    https://cloud.kaneo.app/api/auth/organization/create
  • Auth
    HTTP bearer

Request body

namestring required

The name of the organization

slugstring required

The slug of the organization

userIdstring

The user id of the organization creator. If not provided, the current user will be used. Should only be used by admins or when called by the server. server-only. Eg: "user-id"

logostring nullable

The logo of the organization

metadataobject

The metadata of the organization

keepCurrentActiveOrganizationboolean

Whether to keep the current active organization active after creating a new one. Eg: true

descriptionstring nullable

Response

Success

unknown required

Changes

    • breaking

      removed the media type text/plain for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the non-success response with the status