POST
/
v2
/
orgs
/
{org_id}
curl --request POST \
  --url https://eu-vg-edge.moeaymandev.workers.dev/v2/orgs/{org_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "preferredLanguage": "<string>",
  "squarePhotoURL": "<string>",
  "widgetIDs": [
    "<string>"
  ],
  "adminIDs": [
    "<string>"
  ],
  "canSelfEdit": true,
  "disallowAnyTags": true,
  "dashboardLayout": "vertical",
  "lastModified": 123
}'
{
  "success": true,
  "message": "Organization updated successfully"
}

Authorizations

Authorization
string
header
required

Workspace secret API key, found in the workspace settings page (top left).

Path Parameters

org_id
string
required

The ID of the organization to update

Body

application/json
New organization data

The body is of type object.

Response

200
application/json
Organization updated succesfully

The response is of type object.