Delete deploys by filter
DELETE/api/v1/catalog/deploys
Filter and delete deploys by SHA hash, environment, or type. Note that at least one of the filters need to be set.
If looking to delete all deployments for an entity, use the Delete all deploys for entity
endpoint instead.
Request
Query Parameters
Possible values: [DEPLOY
, SCALE
, ROLLBACK
, RESTART
]
Responses
- 200
- 400
Successfully deleted deployment
- */*
- Schema
- Example (from schema)
Schema
- Array [
- ]
deploys object[]required
customData object
Arbitrary string-to-any map of custom data about the deploy event
Arbitrary string-to-any map of custom data about the deploy event
Optional commit SHA hash that this deploy corresponds to
ISO8601 timestamp string without time zone
Human readable title for the deploy. This is usually the commit message or PR title.
Possible values: [DEPLOY
, SCALE
, ROLLBACK
, RESTART
]
{
"deploys": [
{
"customData": {},
"deployerEmail": "string",
"deployerName": "string",
"environment": "string",
"sha": "string",
"timestamp": "2023-09-22T22:13:27.392Z",
"title": "string",
"type": "DEPLOY"
}
]
}
Trying to delete deploys without any filters
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [INTEGRATION_MISSING
, INTEGRATION_UNREGISTERED
, INTEGRATION_UNSUPPORTED
, INTEGRATION_BAD_REQUEST
, INTEGRATION_UNAUTHORIZED
, INTEGRATION_FORBIDDEN
, INTEGRATION_NOT_FOUND
, INTEGRATION_UNPROCESSABLE_CONTENT
, INTEGRATION_RATE_LIMITED
, INTEGRATION_UNAVAILABLE
, INTEGRATION_TIMED_OUT
, INTEGRATION_CACHE_ERROR
, INTEGRATION_UNHANDLED_HTTP_ERROR
, INTEGRATION_UNHANDLED_EXCEPTION
, INTEGRATION_UNEXPECTED_ERROR
, ILLEGAL_ARGUMENT_ERROR
, BAD_REQUEST
, FORBIDDEN
, NOT_FOUND
, CONFLICT
, UNHANDLED_EXCEPTION
, UNCATEGORIZED
, SERVICE_CREATOR
, UNKNOWN_HOST
]
{
"details": "string",
"gatewayHttpStatus": 0,
"httpStatus": 0,
"message": "string",
"requestId": "string",
"type": "INTEGRATION_MISSING"
}