---
title: "Updates the attributes for an authenticated user in the Zephr user store."
method: PATCH
path: "/blaize/profile"
tags: ["User"]
---

# Updates the attributes for an authenticated user in the Zephr user store.

`PATCH /blaize/profile`

Updates the attributes for an authenticated user in the Zephr user store. The behaviour for the POST and PATCH methods on this endpoint is identical. The provided attributes are saved for the user. Any new attributes are added. Any existing attributes with the same keys are updated. Any existing attributes with different keys remain unchanged. The request can also include an optional 'blaize-validator' property to authenticate a previously partially registered user.

## Headers

- `cookie` string

## Request body

- UpdateAttributes
  - `blaize-validator` string — An optional password that can be used to validate an outstanding partial registration.

## Response `200`

OK. The message 'User profile updated', to confirm that the user attributes were successfully saved.

## Other responses

- `400` — Bad Request. The request body must be a single layer JSON object. All provided attributes must also pass any applicable attribute validation. All provided required attributes must be non-null. All provided attributes must be publicly writable.
- `401` — Unauthorized. This endpoint will only return successfully for existing authenticated users.

---

[API](https://skmtc.net/zuora/apis/public-api-reference.md) · [All operations](https://skmtc.net/zuora/apis/public-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuora/public-api-reference/revisions/0400dd83950b/schema)
