Manage the user stores authentication POST
URL: https://api.painelalter.com/api/updateUserAccess
Authorization: Only admin users can call this route. The request is used to manage the stores another user could have access to.
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Email address of the user whose access is being managed | |
| alias_ids | array | Yes | Array of store alias identifiers to grant access to |
| replace | boolean | No | If true, replaces existing store access; if false, merges with existing access |
Response example
json
{
"success": true
}
