# Update Indexes access
This endpoint enables, modifies, and disables direct access to the Indexes database for given users.
# Access permissions
The following access permissions are available for the Indexes service.
|read||The user is only allowed to read the Indexes database. They cannot make any changes to the Indexes database.|
|write||The user is allowed to read the Indexes 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 Indexes database.|
In order for a user to perform the "update_indexes_access" operation, the "update_indexes_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 Indexes database is to be granted, or whose Indexes database permission is to be revoked.
- value: Must be
The response returns a list of user UUIDs with direct access to Indexes tables 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 Indexes tables access permissions, or whose Indexes 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.