Skip to main content
PATCH
Change the owner's display name

Authorizations

Authorization
string
header
required

A WorkOS access token returned by the self-serve email authorization flow. A claimed agent access token is also accepted for creating an API key, and only for that. API keys are not accepted for API-key administration.

Body

application/json
name
string
required

The owner's display name; surrounding whitespace is trimmed.

Required string length: 1 - 100

Response

The account with its new owner name.

account_id
integer<int64>
required
owner
object
required