v1.0.0
OpenAPI 3.1.0

Delete a file asset

US region

Client Libraries

Delete a file asset

Soft-deletes a file asset by setting its deleted_at timestamp. The underlying file in cloud storage is not removed. Assets that are currently in use cannot be deleted.

Path Parameters
  • id
    Type: integer
    min:  
    1
    required

    The unique identifier of the resource.

Responses
  • 204

    File asset deleted successfully.

  • application/json
  • application/json
  • application/json
Request Example for delete/v1/assets/files/{id}
curl https://api.customer.io/v1/assets/files/1 \
  --request DELETE
No Body