Promote branch as the default one
Path parameters
-
UUID or slug of a documentation which can be seen in the Automatic Deployment settings page of your documentation
-
Slug of a branch which can be seen in the branches settings page of your documentation
PATCH /docs/{doc_id_or_slug}/branches/{slug}/set_default
curl \
-X PATCH https://bump.sh/api/v1/docs/{doc_id_or_slug}/branches/my-branch/set_default \
-H "Authorization: Token $ACCESS_TOKEN"