Update current user information

PATCH/v1/users

Request body

Body shape: Request_UpdateCurrentUserInformation (required)

Responses

200Updated user profile.UserResource
/** Imported from delio-core. */
interface UserResource {
  /** guid from delio-core. */
  guid: string
  /** status from delio-core. */
  status: string
  /** username from delio-core. */
  username: string
  /** contact from delio-core. */
  contact?: unknown
  /** pivot from delio-core. */
  pivot?: unknown
  /** data from delio-core. */
  data?: UserDataFormResource[]
  /** profilePhotoFileKey from delio-core. */
  profilePhotoFileKey?: unknown
  /** userTypeId from delio-core. */
  userTypeId?: unknown
}
401Unauthorized.Error
curl -X PATCH https://your-url.com/kong/core/api/gateway/v1/users\
  -H "Authorization: Bearer $DELIO_API_KEY"\
  -H "Content-Type: application/json"\
  -d '{
  "title": "title",
  "forename": "forename",
  "surname": "surname",
  "email": "user@example.com"
}'