Hi @sidhant and welcome to the community!
If you want to create a branch, you can use the following API endpoint:
If you want to create a branch restriction for a certain branch, you can use the following API endpoint:
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
Hi @Theodora Boudale thanks for the reply,
I am trying to create a branch with certain permissions.
I'm using the above the API endpoint you mentioned to create a branch. But is there any endpoint through which I can create the branch as well as set some permissions to the created branch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @sidhant,
You can't do both operations with one API call. The API endpoints for creating a branch and for creating a branch restriction are different. You need to use the respective endpoint for each operation.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.