Contents

Delete Asset

Soft-delete an asset by its UUID.

URL

DELETE https://api.ads.apple.com/v1/assets/{id}

Path Parameters

NameTypeDescription
id Requireduuid

Header Parameters

NameTypeDescription
X-Ap-Context Requiredstring

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
Response
400Bad Request
Content-Type: application/json
Error
401Unauthorized
Content-Type: application/json
Error
403Forbidden
Content-Type: application/json
Error
404Not Found
Content-Type: application/json
Response
429Too Many Requests
Content-Type: application/json
Error
500Internal Server Error
Content-Type: application/json
Error

Discussion

This endpoint soft-deletes an asset. You can delete only assets that have been uploaded. The Query Assets excludes deleted assets from results by default, but Get Asset can still retrieve them with deleted: true. Attempting to delete an asset that’s already deleted returns 404.

Payload Examples

See Also