Promote branch as the default one

PATCH /docs/{doc_id_or_slug}/branches/{id_or_slug}/set_default

Path parameters

  • doc_id string Required

    UUID or slug of a documentation which can be seen in the CI deployment settings page of your documentation

  • slug string Required

    UUID or slug of a branch which can be seen in the branches settings page of your documentation

Responses

  • 204

    Branch is now set to default

  • 404

    Branch not found

PATCH /docs/{doc_id_or_slug}/branches/{id_or_slug}/set_default
curl \
 -X PATCH https://bump.sh/api/v1/docs/{doc_id_or_slug}/branches/{id_or_slug}/set_default \
 -H "Authorization: Token $ACCESS_TOKEN"