Delete a build artifact

DELETE /apps/{app-slug}/builds/{build-slug}/artifacts/{artifact-slug}

Delete a build artifact of an app's build. The required parameters are app slug, build slug and artifact slug. You can fetch the build artifact slug if you first list all build artifacts of an app with the /apps/ endpoint.

Path parameters

  • app-slug string Required

    App slug

  • build-slug string Required

    Build slug

  • artifact-slug string Required

    Artifact slug

Responses

  • 200

    OK

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

      Hide data attributes Show data attributes object
      • artifact_meta object

        Additional properties are allowed.

      • artifact_type string
      • expiring_download_url string
      • file_size_bytes integer
      • intermediate_file_info object

        Additional properties are allowed.

      • is_public_page_enabled boolean
      • public_install_page_url string
      • slug string
      • title string
  • 400

    Bad Request

    Hide response attribute Show response attribute object
    • message string
  • 401

    Unauthorized

    Hide response attribute Show response attribute object
    • message string
  • 404

    Not Found

    Hide response attribute Show response attribute object
    • message string
  • 500

    Internal Server Error

    Hide response attribute Show response attribute object
    • message string
DELETE /apps/{app-slug}/builds/{build-slug}/artifacts/{artifact-slug}
curl \
 --request DELETE 'https://api.bitrise.io/v0.1/apps/{app-slug}/builds/{build-slug}/artifacts/{artifact-slug}' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "data": {
    "artifact_meta": {},
    "artifact_type": "string",
    "expiring_download_url": "string",
    "file_size_bytes": 42,
    "intermediate_file_info": {},
    "is_public_page_enabled": true,
    "public_install_page_url": "string",
    "slug": "string",
    "title": "string"
  }
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}