# Clear the cache for a specific branch

Clears the cache for a specific branch.

Endpoint: DELETE /api/v2/cache/{branch}
Version: 2.0
Security: Bearer

## Security:

  - `Bearer` (unknown)
    http bearer JWT

## Path parameters:

  - `branch` (string, required)
    The name of the branch to clear.

## Query parameters:

  - `api-version` (string)

## Response 204:

  - `204` (unknown)
    The cache was successfully cleared

## Response 400:

  - `400` (unknown)
    Invalid input, such as missing the branch name in the URL

## Response 400 fields (application/json):

  - `type` (string)

  - `title` (string)

  - `status` (integer)

  - `detail` (string)

  - `instance` (string)

  - `errors` (object)

## Response 401:

  - `401` (unknown)
    Invalid bearer token

## Response 403:

  - `403` (unknown)
    Insufficient scopes in bearer token

## Response 404:

  - `404` (unknown)
    The branch was not found

