Users
Set the collection access level
Set the collection access level for the collection in the GeoFabric geoname for user user.
If access level for collection is not set default("*") access level is used. If default("*") access level is also not set GeoFabric access level is used.
Note: Requires administrator permissions.
put/_api/user/{user}/database/{geofabric}/collection/{collection}
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.
geofabricstring string required
The name of the database.
collectionstring string required
The name of the collection.
Request body
Example request
{
"grant": "rw"
}Response
Successfully changed access permissions.
unknown required
Example response
{
"code": 200,
"error": false,
"_system/testCollection": "ro"
}Changes
No recorded changes to this operation across all 1 revision of this API.