API Keys
Get the specific collection access level
Fetch the list of collections access level for a specific user
If access level for collection is not set default("*") access level is used. If default("*") access level is also not set database access level is used.
get/_api/key/{keyid}/database/{dbname}/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
keyidstring string required
The id of the API key.
dbnamestring string required
The name of the database to query.
Query parameters
fullboolean
Return the full set of access levels for all collections.
Response
Successfully fetched access level.
Example response
{
"code": 200,
"result": {
"test1": "rw"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.