---
title: "Reset an end user's execution policy to no policy"
method: DELETE
path: "/credits/end-users/{externalUserId}/policy"
tags: ["End users"]
---

# Reset an end user's execution policy to no policy

`DELETE /credits/end-users/{externalUserId}/policy`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/end-users/{externalUserId}/policy`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Workspace owner/admin session or a secret key with tokens:manage. Deletes operational policy counters only after all live reservations have captured or released. The append-only policy decision journal remains queryable by account. Repeating a completed reset is safe and returns reset=false.

## Path parameters

- `externalUserId` string, required: Case-sensitive immutable ID in the tenant namespace. Prefer an identity-provider subject, not an email address.

## Response `200`

Policy is null

- object
  - `success` unknown, required
  - `externalUserId` string, required: Case-sensitive immutable ID in the tenant namespace. Prefer an identity-provider subject, not an email address.
  - `policy` unknown, required
  - `reset` boolean, required
  - `priorPolicyId` string, uuid, nullable, required

## Other responses

- `409`: An active reservation must capture or release before reset

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
