# Promote branch as the default one **PATCH /docs/{doc_id_or_slug}/branches/{slug}/set_default** ## Servers - Production: https://bump.sh/api/v1 () ## Authentication methods - Authorization token - Basic token (deprecated) ## Parameters ### Path parameters - **doc_id_or_slug** (string) UUID or slug of a documentation which can be seen in the Automatic Deployment settings page of your documentation - **slug** (string) Slug of a branch which can be seen in the branches settings page of your documentation ## Responses ### 200 Branch is already the default branch. ### 204 Branch is now set to default. ### 404 Branch not found ### 422 Branch has an empty history [Powered by Bump.sh](https://bump.sh)