# Update Timeseries access
This endpoint enables, modifies, and disables direct access to the Timeseries database for given users.
The following Timeseries access permissions are available:
"read": The user is only allowed to read the Timeseries database, not to make any changes.
"write": The user is allowed to read the Timeseries database and to make changes to it.
In order to revoke a previously granted access permission, you need to use the
"disable"value in the request:
"disable": The user has no access to the Timeseries database.
In order for a user to perform the "update_timeseries_access" operation, the "update_timeseries_access" permission must be included in the list of allowed actions in the statement of the user's role.
- Key: User UUID of the user for whom access permission to the Timeseries database is to be granted, or whose Timeseries database permission is to be revoked.
- Value: Must be
The response returns a list of user UUIDs with direct access to the Timeseries database with their respective access permissions in form of key-value pairs (key: user UUID, value: access permission of the user). Please note that as we have disabled access for the user with the user UUIDs
"3a3944d6-0bf9-4d42-abcd-cccccccccccc", this user UUIDs with their access permission is not returned in the response.
- Key: User UUID of the user whom we want to grant Timeseries database access permissions, or whose Timeseries database permissions we want to update or revoke.
- Value: Must be
# Status codes
Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status Codes section.