Skip to end of banner
Go to start of banner

addBranchRestriction

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 68 Next »

See also: Actions

Description

Add branch level restriction with optional exemptions for users and groups. Restriction defaults to read-only. Restriction applies to branches matching by branch name, pattern, or model. Default is matching on branch name. User exceptions can be specified by the userId parameter as a common separated list of user ids. Group exceptions can be specified by the group parameter as a common separated list of group names.

Required Parameters

project, repository, branch

Optional Parameters

restriction, matchingType, userId, group, replace

Type

Create

Category

Branches

Output Formats

Replacement Variables

restrictionId

Hostingserver,datacenter
Since Version

Examples

addBranchRestriction

Related How To's

  • No labels