Users
Set the query worker access level
Set the access level for the query worker in the GeoFabric geofabric for user user.
If access level for query worker is not set, then default("*") access level is used. If default("*") access level is also not set, then GeoFabric access level is used.
Note: Requires administrator permissions.
put/_api/user/{user}/database/{geofabric}/restql/{query-worker}
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userstring string required
The ID of the user querying the GeoFabric.
geofabricstring string required
The name of the GeoFabric.
query-workerstring string required
The name of the query worker.
Request body
Example request
{
"grant": "rw"
}Response
Successfully changed access permissions.
unknown required
Example response
{
"code": 200,
"error": false,
"_system/testQueryWorker": "ro"
}Changes
No recorded changes to this operation across all 1 revision of this API.