Retrieve information about an API key
Retrieve information about an API key.
Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
-
The unique
_id
value of an API key
GET
/groups/{groupId}/apps/{appId}/api_keys/{apiKeyId}
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/api_keys/{apiKeyId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"_id": "string",
"name": "string",
"disabled": "string"
}