Dozor
Organizations

Edit org name and/or avatar

ADMIN+. `regenerateAvatar: true` rolls the DiceBear seed to a new UUID. Both fields optional; an empty body is a no-op `204`.

PATCH/api/organizations/{orgId}

ADMIN+. regenerateAvatar: true rolls the DiceBear seed to a new UUID. Both fields optional; an empty body is a no-op 204.

Path Parameters

orgId*string

Organisation id (cuid)

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://loading/api/organizations/string" \  -H "Content-Type: application/json" \  -d '{    "name": "Acme Labs",    "regenerateAvatar": true  }'
Empty
Empty
Empty
Empty
Empty