Users
Update current user
Edit the profile of the currently authenticated user. Updatable fields include name, title, email, and disabled status. The id field in the request body must match the authenticated user's UUID; a mismatch returns a 422 error. Email address changes are recorded in the audit trail. Requires the user_self_profile_write permission.
patch/api/v2/current_user
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/current_user
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Request body
Example request
{
"data": {
"id": "00000000-0000-feed-0000-000000000000",
"type": "users"
}
}Response
OK
Example response
{
"data": {
"relationships": {
"org": {
"data": {
"id": "00000000-0000-beef-0000-000000000000",
"type": "orgs"
}
},
"other_orgs": {
"data": []
},
"other_users": {
"data": []
},
"roles": {
"data": [
{
"id": "3653d3c6-0c75-11ea-ad28-fb5701eabc7d",
"type": "roles"
}
]
}
},
"type": "users"
},
"included": [
{
"type": "orgs"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.