I tried to delete my artifacts with new next endpoint.
“curl -X DELETE -H ‘Authorization: token MY_TOKEN’ ‘https://api.bitrise.io/v0.1/apps/MY_APP_SLUG/builds/MY_BUILD_SLUG/artifacts/MY_ARTIFACT_SLUG’”
Endpoint reference
Topic
But I cannot delete. The endpoint returns next response.
{"message":"Internal Server Error"}
I checked that next curl command returns response successfully.
- “curl -H ‘Authorization: token MY_TOKEN’ ‘https://api.bitrise.io/v0.1/me’”
- “curl -H ‘Authorization: token MY_TOKEN’ ‘https://api.bitrise.io/v0.1/apps/MY_APP_SLUG/builds/MY_BUILD_SLUG/artifacts’”
- “curl -H ‘Authorization: token MY_TOKEN’ ‘https://api.bitrise.io/v0.1/apps/MY_APP_SLUG/builds/MY_BUILD_SLUG/artifacts/MY_ARTIFACT_SLUG’”