---
title: "Update Scan token for user"
method: PATCH
path: "/v1/admin/scan/token"
tags: ["internal"]
---

# Update Scan token for user

`PATCH /v1/admin/scan/token`

## Headers

- `X-Team-Id` string

## Request body

- object
  - `base_domain_count` integer
  - `base_count` integer
  - `extra_token` number
  - `email` string, required — Comma separated emails
  - `is_enforced_limit` boolean
  - `tag` 'TRIAL' | 'ENT_TRIAL' | 'PRO' | 'ENT' | 'FREE' | 'VERIFIED_FREE' | 'GROWTH' — user tag eg - TRIAL
  - `expire_at` string, date-time

## Response `200`

Example response

- object
  - `message` string, required

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-11-18** `41ee26b930f3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/admin/scan/token/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/5b9dc99a8e6a/schema)
