콘텐츠로 이동

deleteSecretGrant

DELETE
/api/v1/secrets/{secret_id}/grants/{subject_type}/{subject_id}
curl --request DELETE \
--url https://dev.api.endueos.com/api/v1/secrets/sec_01J9ZK3Q8M4XW7D2N5R6T0V1BC/grants/workspace/example \
--header 'Authorization: Bearer <token>'
secret_id
필수
string
/^sec_[0-9A-HJKMNP-TV-Z]{26}$/
예시
sec_01J9ZK3Q8M4XW7D2N5R6T0V1BC
subject_type
필수
string
허용 값: workspace deployment api_key
subject_id
필수
string

There is no content to send for this request, but the headers may be useful.

요청 형식이 틀렸다 — VALIDATION_ERROR(details.errors[]) 또는 BAD_REQUEST. 본문은 오류 봉투.

인증이 없거나 무효다 — UNAUTHORIZED. 본문은 오류 봉투.

이 인증 수단으로는 못 하는 일이다 — FORBIDDEN (예: API 키로 클라우드 기기 만들기). 본문은 오류 봉투.

없거나 내 것이 아니다 — *_NOT_FOUND. 본문은 오류 봉투.

한도를 넘었다 — Retry-After 초 뒤에 다시. 본문은 오류 봉투.

서버 오류 — INTERNAL_ERROR. 본문은 오류 봉투.

의존 서비스에 닿지 못했다 — 잠시 뒤 다시. 본문은 오류 봉투.