# Update Timeseries access
This endpoint enables, modifies, and disables direct access to the Timeseries database for given users.
Access permission | Description |
---|---|
read | The user is only allowed to read the Timeseries database. They cannot make any changes to the Timeseries database. |
write | The user is allowed to read the Timeseries database and to make changes to it. |
disable | This access permission is used to revoke a previously granted access permission. The user will have no access to the Timeseries database. |
Method | Path | Operation* |
---|---|---|
PATCH | /account/services/timeseries | update_timeseries_access |
*
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.
# Request
Parameter | Type | In | Description |
---|---|---|---|
users | dictionary | body | Key-value pairs: - 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 "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), or "disable" (the user has no access to the Timeseries database). |
# Response
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.
Attribute | Type | Description |
---|---|---|
users | dictionary | Key-value pairs: - 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 "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), or "disable" (the user has no access to the Timeseries database). |
# Status codes
Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.
Was this article helpful?