initiatePurgeOfBuildCacheNode

@POST(value = "api/build-cache/nodes/{name}/purge")
abstract suspend fun initiatePurgeOfBuildCacheNode(@Path(value = "name") name: String)

Deletes all entries from a Build Cache Node. Triggers the deletion of all entries stored at the named Build Cache Node. Responses:

  • 202: Purging the Build Cache Node was successfully initiated.

  • 404: The referenced resource either does not exist or the permissions to know about it are missing.

  • 500: The server encountered an unexpected error.

  • 503: The node was not signed in with Develocity.

Return

Unit

Parameters

name

The name of the Build Cache Node. To select the Built-in Build Cache Node, use `Built-in` as name.