Organizations
Update current user organization details
Partially updates name, phoneNumber, address, and/or logoUrl on the caller's organization. When logoUrl is a base64 data URL or http(s) URL it is uploaded to R2 and stored as a signed-storage key; passing "" or null clears the logo.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/api/organizations/user" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme Corp", "phoneNumber": "+14165550100", "address": "123 Yonge St, Toronto, ON", "logoUrl": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..." }'{ "message": "Organization details updated successfully"}