cURL
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" }
Creates a new organization
Workspace secret API key, found in the workspace settings page (top left).
Organization to create
The body is of type object.
object
Organization created succesfully
The response is of type object.