Delete build
DELETE/v2/actor-builds/:buildId
Delete the build. The build that is the current default build for the Actor cannot be deleted.
Only users with build permissions for the Actor can delete builds.
Request
Path Parameters
buildId string required
ID of the build you want to get, found in the build's Info tab.
soSkq9ekdmfOslopHStatus 204
Response Headers
Status 400
Bad request - invalid input parameters or request body.
{
"error": {
"type": "invalid-input",
"message": "Invalid input: The request body contains invalid data."
}
}
Schema
error object required
- type string requiredExample:
run-failed - message string requiredExample:
Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)
- type string requiredExample:
Status 401
Unauthorized - authentication required or invalid token.
{
"error": {
"type": "token-not-valid",
"message": "Authentication token is not valid."
}
}
Schema
error object required
- type string requiredExample:
run-failed - message string requiredExample:
Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)
- type string requiredExample:
Status 404
Not found - the requested resource was not found.
{
"error": {
"type": "record-not-found",
"message": "Actor build was not found"
}
}
Schema
- oneOf
- ActorBuildNotFoundError
error object
- type string
Possible values: [
record-not-found] - message string
Possible values: [
Actor build was not found]
- type string