updateBranchRestriction


updateBranchRestriction

See also: Actions

Description

Update a branch level restriction with changes to exemptions for users and groups. Identify the branch restriction by id or by the same matching parameters as getBranchRestriction. By default, users or group or both specified by their respective parameters will be added to the existing exceptions. Use '--options remove' to remove users or group or both specified by their respective parameters. Use '--replace' to replace users or groups or both specified by their respective parameters. Use a blank parameter value to indicate no corresponding exceptions for remove and replace.

Required Parameters

project, repository, (branch or id)

Optional Parameters

restriction, matchingType, userId, group, replace

Type

Update

Category

Branches

Output Formats

Replacement Variables

Hostingserver,datacenter
Since Version9.3

Examples

Related How To's

Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.