English
cURL
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 }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
List of digests to delete. If not provided, all digests for the object will be deleted.
Successful Response
Was this page helpful?