---
title: "Patch User Profile"
method: PATCH
path: "/v1/admin/user/profile"
tags: ["internal"]
---

# Patch User Profile

`PATCH /v1/admin/user/profile`

(ADMIN) Patch a user profile

## Request body

- object
  - `email` string, required
  - `ai_status` boolean
  - `scan_status` boolean
  - `static_scan` boolean
  - `early_template` boolean

## Response `200`

Example response

- object
  - `message` string, required
  - `ai_status` boolean
  - `scan_status` boolean
  - `static_scan` boolean
  - `early_template` boolean

## Other responses

- `401` — Example response
- `500` — Example response

## Changes

- **2024-04-19** `ba8a20839440` — 2 info
  - the endpoint scheme security `X-API-Key` was added to the API
  - api tag `internal` added
- **2024-01-31** `4f557b176ebd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/admin/user/profile/patch.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/ba8a20839440/schema)
