メインコンテンツへスキップ
DELETE
Delete Token
更新日: 2026-07-20

Overview

Permanently delete a specified API token. The token’s API Key will be invalidated immediately after deletion.
The /api/token/* endpoints are mainly for Crazyrouter dashboard automation around API key management. They require a user access token plus the New-Api-User header, and are not the normal interface for sk-xxx model calls. Use https://crazyrouter.com as the base URL; https://api.crazyrouter.com is reserved for model APIs and returns 404 api_only_endpoint for management paths.

Authentication

Use user-side authentication with these headers:

Path Parameters

id
integer
必須
ID of the token to delete

Response Format

Code Examples

This operation is irreversible. All applications using this Key will immediately lose API access.