Skip to main content
POST
Update an existing organization

Authorizations

Authorization
string
header
required

Personal Access Token (PAT) passed in the Authorization header (e.g., Bearer <pat>) for authenticated API requests. PATs are generated via /auth/generate-pat after authenticating through the magic link flow.

Body

application/json
org_id
string
required
Example:

"60c72b2f5f1b2c001c8e4b1a"

name
string
required
Example:

"Updated Org Name"

description
string | null
Example:

"Updated description"

org_avatar
string | null
Example:

"data:image/svg+xml;base64,..."

Response

Organization updated successfully

message
string
Example:

"Organization updated successfully"

org
object