# Squash Branch

```
POST 
/v1/viz/:viz_id/branches/:branch/squash
```

Squash all commits on a draft branch into a single commit.

## Request[​](#request "Link diretto a request")

## Responses[​](#responses "Link diretto a Responses")

* 200
* 404
* 422

Successful Response

Not found

Validation Error
