Reference
Delete branch
Deletes a branch. Its data stays until garbage collection.
DELETE
Fails with 409 if the branch moves while it is being deleted, as when a mount is saving to it.
bearerheader
AuthorizationBearer <token>namespace*stringA namespace of your organization, such as prod/app, or <org>:<namespace> for a public namespace of another one. Encode / as %2F.
branch*stringA branch, such as main or agents/fix-1. Encode / as %2F.
Done.
curl -X DELETE 'https://example.com/v1/namespaces/string/branches/string'Example Response
Empty