enable

abstract suspend fun enable(id: BsonObjectId)

Enables a specific API key created by the user.

Parameters

id

the id of the key to disable.

Throws

if a non existing API key is enabled.

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