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