Skip to content

Update own Profile​

PATCH
/auth/profile

3.1.0: the logged in user changes its own displayName; null (or "") removes it. Other fields (email, roles, disabled) are changed by an administrator (PATCH /admin/users/{userId}).

Authorizations​

httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)

Request Body​

application/json
JSON
{
  
"displayName": "string"
}

Responses​

application/json
JSON
{
  
"user": "string",
  
"isAdmin": true,
  
"apiKey": "string",
  
"roles": [
  
  
"string"
  
],
  
"grants": [
  
  
{
  
  
  
"name": "string",
  
  
  
"read": true,
  
  
  
"write": true,
  
  
  
"administrate": true,
  
  
  
"grantType": "COLLECTION"
  
  
}
  
],
  
"email": "string",
  
"emailVerified": true,
  
"displayName": "string",
  
"identities": [
  
  
{
  
  
  
"provider": "string",
  
  
  
"subject": "string",
  
  
  
"email": "string"
  
  
}
  
],
  
"disabled": true,
  
"lastLoginAt": "2024-01-01T00:00:00Z",
  
"mfaEnabled": true
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI

Released under the MIT License.