The request is intended to access rights to units, group of units, report templates, geosites, group of geosites, geopoints, group of units, services.
&svc=change_permissions¶ms={ "entity": string, "entity_id": integer, "permission": integer, "id_user": integer }
Parameter | Description |
---|---|
entity | The name of the entity for which the access rights are changed(“units”, “units_groups”, “template_reports”, “geozones”, “geozones_groups”, “geopoints”, “geopoints_groups”, “services”) |
entity_id | Entity ID for which the access rights are changed(“units”, “units_groups”, “template_reports”, “geozones”, “geozones_groups”, “geopoints”, “geopoints_groups”, “services”) |
permission | Permission Value |
id_user | User ID for which the access rights are changed |
Returns the result of the request to change the rights.
{ "result": true // Status of request for change of rights (true or false) }