Skip to main content
DELETE
Remove profile picture

Authorizations

Authorization
string
header
required

Account Service Key, prefixed with pho_ask_, sent as Authorization: Bearer <key>. Acts on behalf of its owning account, subject to the permissions and credential restrictions of each operation. Account access tokens and OAuth grants also use the Bearer header. In organizations that require SSO, Account Service Keys are not accepted for managing the organization's SSO settings, deleting the organization, or checking whether it can be deleted.

Scopes

account:write

Update account name and profile.

Headers

Photon-Version
enum<string>

Selects the API contract date. Without it, the request is served as 2026-07-01.

Available options:
2026-07-01
Idempotency-Key
string
required

Identifies one logical mutation across retries.

Required string length: 1 - 255
Pattern: ^[\x21-\x7e]{1,255}$

Response

The Account reset to its default profile picture.

accountId
string
required
createdAt
string<date-time> | null
required
Example:

"2026-01-01T00:00:00.000Z"

deletedAt
string<date-time> | null
required
Example:

"2026-01-01T00:00:00.000Z"

email
string
required

Email address supplied by the identity provider.

Minimum string length: 1
Pattern: \S
firstName
string | null
required
lastName
string | null
required
phoneNumber
string | null
required
phoneVerifiedAt
string<date-time> | null
required
Example:

"2026-01-01T00:00:00.000Z"

pictureUrl
string<uri>
required
updatedAt
string<date-time> | null
required
Example:

"2026-01-01T00:00:00.000Z"

impersonator
object

Present only while a WorkOS dashboard admin is impersonating this account: the admin's email. Attribution only; grants nothing.