Skip to content

Clear a project's build cache

DELETE
/api/v1/projects/{id}/build-cache
curl --request DELETE \
--url https://api.deploybase.eu/api/v1/api/v1/projects/example/build-cache \
--header 'Authorization: <Authorization>'

Deletes every framework build cache archive of the project (DEP-778), so the next build starts cold and saves a fresh one. Not the CDN cache (/cache/purge).

id
required
string

Project ID (UUID)

Cleared

Forbidden

object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

PROJECT_NOT_FOUND

object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Live 582ac705 built