Sets the areas of a User.
The ID of the User.
An array of Area IDs to be linked to the User.
FM_api('User_setAreas', [ 'id' => '123', 'location_ids' => '["90098","90099","120071"]' ] );
{'ok':1}
If the "id" parameter is missing or has an integer value less than 1:
If the "location_ids" parameter is missing or is not an array:
Last updated 4 months ago
{'error':'parameter missing or invalid: id'}
{'error':'parameter missing or invalid: locations'}