Skip to main content
DELETE
cURL
이 엔드포인트를 사용해 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.

예시:

""