---
title: "Change a lead cap, disable or reactivate"
method: PATCH
path: "/users/{externalUserId}"
tags: ["Partner"]
---

# Change a lead cap, disable or reactivate

`PATCH /users/{externalUserId}`

## Request

- Base URL: `https://app.pumpgtm.com/api/partner/v1`
- URL: `https://app.pumpgtm.com/api/partner/v1/users/{externalUserId}`
- Auth: HTTP bearer

monthlyLeadCap sets or clears (null) the user's people-search cap (400 invalid_monthly_lead_cap); status disabled is the same as DELETE (sequences paused, 403 user_disabled on MCP and REST, nothing more billed) and status active reactivates. At least one field is required (400 nothing_to_update; a non-object body is 400 invalid_body; both carry field null).

## Path parameters

- `externalUserId` string, required: Your own id for the end user: letters, digits and _ . : @ -, up to 120 characters.

## Request body

- object
  - `monthlyLeadCap` integer, nullable: People search cap for this user per period; null means no cap.
  - `status` 'active' | 'disabled'

## Response `200`

Successful response. Read outcome fields; success does not imply delivery.

- object
  - `externalUserId` string, required: Your own id for the end user: letters, digits and _ . : @ -, up to 120 characters.
  - `status` 'active' | 'disabled', required
  - `monthlyLeadCap` integer, nullable, required: People search cap for this user per period; null means no cap.

## Other responses

- `400`: Invalid input; for partner keys also user_header_required when the account requires X-PumpGTM-User
- `401`: Missing, invalid or revoked key
- `403`: Workspace mismatch, channel or feature disabled; for partner keys also enterprise_required and user_disabled
- `404`: Resource unavailable in this workspace
- `409`: Revision, identity or state conflict: { error, message } and nothing changed
- `429`: Rate limit; respect Retry-After when provided
- `500`: internal_error: an unexpected failure on our side; retry, then contact PumpGTM
- `503`: Dependency unavailable; identity may be unknown

## Changes

- **2026-10-12** `06d2e4d0e84b`: 8 info
  - the response property `error` became required for the status `400`
  - the response property `error` became required for the status `401`
  - the response property `error` became required for the status `403`
  - the response property `error` became required for the status `404`
  - …4 more
- **2026-10-12** `08c80059d483`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pumpgtm/apis/pumpgtm-api/changes/users/:externalUserId/patch.md)

---

[API](https://skmtc.dev/pumpgtm/apis/pumpgtm-api.md) - [All operations](https://skmtc.dev/pumpgtm/apis/pumpgtm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pumpgtm/apis/pumpgtm-api/revisions/06d2e4d0e84b?raw)
