API Keys
Clear the collection access level.
Clears the access level for the collection collection in the database dbname of API key with keyid. Reverts to default collection access level. If there is no defined default collection access level, it defaults to No access.
Note: Requires administrator permissions.
delete/_api/key/{keyid}/database/{dbname}/collection/{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.
collectionstring string required
The name of the collection.
Response
Successfully cleared access level.
Example response
{
"code": 202
}Changes
No recorded changes to this operation across all 1 revision of this API.