Skip to main content
POST
Create a new organization

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API key. Must only be used when using Hanko Cloud.

Body

application/json
name
string
required

The name of the new organization. Must be non-empty (after trimming whitespace) and at most 255 characters.

Maximum string length: 255

Response

Details of the newly created organization

id
string<uuid4>
required

The ID of the organization

Example:

"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"

name
string
required

The name of the organization

created_at
string<date-time>
required

Time of creation of the organization

updated_at
string<date-time>
required

Time of last update of the organization