PUT
/
v2
/
orgs
curl --request PUT \
  --url https://eu-vg-edge.moeaymandev.workers.dev/v2/orgs \
  --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 created successfully"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
Organization to create

The body is of type object.

Response

200
application/json
Organization created succesfully

The response is of type object.