Enable an API key

PUT /groups/{groupId}/apps/{appId}/api_keys/{apiKeyId}/enable

Enable an API key.

Path parameters

Responses

  • 204

    The API key was successfully enabled.

PUT /groups/{groupId}/apps/{appId}/api_keys/{apiKeyId}/enable
curl \
 --request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/api_keys/{apiKeyId}/enable' \
 --header "Authorization: Bearer $ACCESS_TOKEN"