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.
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 } }'
{ "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 } }
BearerAuthAuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
application/jsonuser_id*integerID of the child user to update.
dashboard_menu_access*Flags to update. Only pass the flags you want to change. Others are left untouched. Flags outside your reseller's permissions are silently dropped.
Response body
application/jsonAccess control updated.
application/jsonsuccess?booleanmessage?stringupdated_flags?The flags that were actually applied (after the reseller-scope filter).
Add user
Create a new child user and organization under the reseller. The new organization is linked to your reseller account automatically.
Block or restore a client
Block a client, or restore one you blocked. Nothing is deleted, so the client's agents, numbers, campaigns and history stay as they are and a restore brings the client back as it was.
