---
title: "Decline agent accounts"
method: POST
path: "/credits/agent/claims/decline"
tags: ["Agent-native onboarding"]
---

# Decline agent accounts

`POST /credits/agent/claims/decline`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/agent/claims/decline`
- Auth: none required

"This wasn't me": suspends each selected pending agent workspace for the address and revokes its agent credentials and MCP connections.

## Request body

- AgentClaimDecisionRequest
  - `token` string, required: Read from the claim email URL fragment; never sent in a URL.
  - `workspaceIds` string[], required: The workspaces from preview that the person chose.

## Response `200`

Workspaces suspended

## Other responses

- `400`: No workspace selected (CLAIM_SELECTION_REQUIRED)
- `404`: Unknown claim link
- `409`: A selected workspace is no longer pending (CLAIM_SELECTION_STALE)
- `410`: Claim link expired, already claimed, or declined

---

[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)
