Ask Kevin is smarter.
OmniDimension
Reseller

Update user access control

Enable or disable dashboard menu access flags for a child user. Only the flags you pass are changed. Flags outside your reseller's permissions are silently ignored.

Reseller accounts only. Request access.

POST/reseller/users/access-control
Body
2 fields
·

ID of the child user to update.

Flags to update. Only pass the flags you want to change. Others are left untouched. Flags outside your reseller's permissions are silently dropped.

curl -X POST 'https://backend.omnidim.io/api/v1/reseller/users/access-control' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "user_id": 1234,
  "dashboard_menu_access": {
    "is_bots_menu_access": true,
    "is_call_logs_menu_access": true,
    "is_phone_number_access": false
  }
}'
Example response
synthetic
{
  "success": true,
  "message": "User access control updated successfully",
  "updated_flags": {
    "is_bots_menu_access": true,
    "is_call_logs_menu_access": true,
    "is_phone_number_access": false
  }
}

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json