disable

abstract suspend fun disable(id: BsonObjectId)

Deletes a specific API key created by the user. The function would complete normally if the provided key does not exist.

Parameters

id

the id of the key to disable.

Throws

if a non existing API key is disabled.

for other failures that can happen when communicating with App Services. See AppException for details.