API Keys

Get the specific collection access level

Fetch the access level for a specific collection.

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/{collection}

Request

Path parameters

keyidstring string required

The id of the API key.

dbnamestring string required

The name of the database to query.

collectionstring string required

The name of the collection.

Response

Successfully fetched access level.

codeinteger

HTTP response code.

errorboolean

Flag if there is an error in response. False for this response.

resultstring

Example response

{
  "code": 200,
  "result": "rw"
}

Changes

No recorded changes to this operation across all 1 revision of this API.