메인 콘텐츠로 건너뛰기
POST
/
obj
/
delete
객체 삭제
curl --request POST \
  --url https://api.example.com/obj/delete \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "object_id": "<string>",
  "digests": [
    "<string>"
  ]
}
'
{
  "num_deleted": 123
}

인증

Authorization
string
header
필수

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

본문

application/json
project_id
string
필수
object_id
string
필수
digests
string[] | null

삭제할 다이제스트 목록입니다. 이 값을 제공하지 않으면 객체의 모든 다이제스트가 삭제됩니다.

응답

성공 응답

num_deleted
integer
필수