Skip to main content

Change branch status

Endpoint URL

PUT /api/v2/branches/:id/status

Change branch status. Activates or deactivates a specific branch. To update the branch status, include the branch's unique ID as a path parameter in the request URL and provide a boolean value for the is_active attribute in the request body. If the request is valid and the branch exists, the API updates the branch's status accordingly and returns the updated branch details.

Request

Responses

Successful response