Bitbucket Data Center API Client
    Preparing search index...

    Interface RefRestrictionRequest

    Payload for creating a ref restriction via the branch-permissions API.

    interface RefRestrictionRequest {
        accessKeyIds?: number[];
        groupNames?: string[];
        matcher: RefMatcher;
        type: RefRestrictionType;
        userSlugs?: string[];
    }
    Index

    Properties

    accessKeyIds?: number[]

    Ids of SSH access keys to exempt from the restriction

    groupNames?: string[]

    Names of groups to exempt from the restriction

    matcher: RefMatcher
    userSlugs?: string[]

    Slugs of users to exempt from the restriction