Bitbucket Data Center API Client
    Preparing search index...

    Type Alias RefRestrictionType

    RefRestrictionType:
        | "read-only"
        | "no-deletes"
        | "fast-forward-only"
        | "pull-request-only"

    The kind of action a ref restriction blocks.

    • 'read-only' — prevents all pushes to the matched refs
    • 'no-deletes' — prevents the matched refs from being deleted
    • 'fast-forward-only' — prevents history rewrites (force pushes) on the matched refs
    • 'pull-request-only' — prevents direct pushes; changes must come in via pull requests