POST
/
v2
/
clients
/
{client_id}
curl --request POST \
  --url https://eu-vg-edge.moeaymandev.workers.dev/v2/clients/{client_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "orgId": "<string>",
  "name": "<string>",
  "squarePhotoURL": "<string>",
  "email": "<string>",
  "dashboardPassword": "<string>",
  "canAccess": [
    "/overview"
  ],
  "isOrgAdmin": true,
  "notificationsSettings": {
    "notifyThrough": "email",
    "notifyIf": "all"
  }
}'
{
  "success": true,
  "message": "Client updated successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

client_id
string
required

The ID of the client to update

Body

application/json
Client to update

The body is of type object.

Response

200
application/json
Client updated succesfully

The response is of type object.