---
title: "Update"
method: PATCH
path: "/v1/current_user"
tags: ["User (Current)"]
---

# Update

`PATCH /v1/current_user`

Update attributes for the currently authenticated user.

## Request body

- object
  - `user` object
    - `first_name` string
    - `last_name` string
    - `phone` string

## Response `200`

- object
  - `data` UserSpec — User specification
    - `id` string — Resource Id (integer or uuid)
    - `type` string — Resource type name
    - `uuid` string — Resource UUID (if applicable)
    - `attributes` User — User resource
      - `name` string — Name
      - `email` string — Email address
      - `email_verified` boolean — Email address is verified (may be null)
      - `created_at` string, date — Creation date
      - `updated_at` string, date — Last update
      - `has_agreements_to_sign` boolean — User has agreements to sign
      - `can_add_org_to_msps` object[] — Optional list of MSPs user can add organizations to
        - `id` integer
        - `name` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unable to update current user

---

[API](https://skmtc.net/dnsfilter/apis/dnsfilter-api.md) · [All operations](https://skmtc.net/dnsfilter/apis/dnsfilter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dnsfilter/dnsfilter-api/revisions/29e5e6ee3316/schema)
