Skip to main content
PATCH
Update an organization by ID

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.

Path Parameters

id
string<uuid4>
required

ID of the organization

Example:

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

Body

application/json

Patch payload for updating an organization.

Omitted properties are not changed.

name
string

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

Maximum string length: 255

Response

Details about the 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