> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enfuce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Token management

> Endpoint for changing the status of a token

Token management lets you act on a single token linked to a card, without affecting the card itself or the other tokens linked to it.

## Status Transitions

Only the transitions below are permitted.

```mermaid theme={null}
stateDiagram-v2
    INACTIVE --> ACTIVE: activate
    ACTIVE --> SUSPENDED: suspend
    SUSPENDED --> ACTIVE: resume
    ACTIVE --> DEACTIVATED: deactivate
    SUSPENDED --> DEACTIVATED: deactivate
    INACTIVE --> DEACTIVATED: deactivate
```

## Endpoints

<Card title="Change the status of a token" icon="arrow-right" href="/payment/api/token-management/change-token-status" horizontal>
  **PUT** /v1/tokens/\{tokenId}/\{action}
</Card>
