메인 콘텐츠로 건너뛰기
DELETE
/
api
/
token
/
{id}
cURL
curl -X DELETE https://api.cometapi.com/api/token/1234 \
  -H "Authorization: your-access-token"
{
  "success": true,
  "message": ""
}

Documentation Index

Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt

Use this file to discover all available pages before exploring further.

이 엔드포인트를 사용해 ID로 API 키를 삭제할 수 있습니다.
Console → Personal Settings에서 personal access token을 생성한 다음, 이를 원시 Authorization 헤더 값으로 전송하세요. Bearer 접두사는 붙이지 마세요.
삭제 후에는 해당 키를 더 이상 model 요청에 사용할 수 없습니다. 응답은 삭제가 성공했는지만 확인해 줍니다. id 경로 매개변수는 API 키 목록 조회에서 반환되는 숫자 키 ID입니다. 키를 삭제하면 해당 키 값은 영구적으로 제거되므로, 통합에 자격 증명이 다시 필요하면 새 API 키를 생성하세요.

인증

Authorization
string
header
필수

Personal access token copied from CometAPI Console > Personal Settings. Send the raw token value; do not prefix it with Bearer.

경로 매개변수

id
integer
필수

Numeric API key ID returned by the list endpoint. Deleting this ID permanently invalidates that key value.

응답

200 - application/json

Delete result.

success
boolean
필수

Whether the delete operation succeeded.

예시:

true

message
string
필수

Backend status message. The value is usually an empty string on success.

예시:

""