GET
/auth/profile
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/auth/profile' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"user_id": "string",
"domain_id": "string",
"identities": [
{
"id": "string",
"provider_type": "anon-user",
"provider_id": "string"
}
],
"data": {
"email": "string",
"name": "string"
},
"type": "normal",
"roles": [
{
"role_name": "string",
"group_id": "string"
}
]
}