Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AccessControlEntriesApi

Hierarchy

  • AccessControlEntriesApi

Index

Constructors

constructor

Properties

Protected basePath

basePath: string = "https://dev.azure.com/"

defaultHeaders

defaultHeaders: any

Methods

removeAccessControlEntries

  • removeAccessControlEntries(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<boolean>
  • Remove the specified ACEs from the ACL belonging to the specified token.

    Parameters

    • params: object
      • apiVersion: string
      • Optional descriptors?: string
      • organization: string
      • securityNamespaceId: string
      • Optional token?: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<boolean>

setAccessControlEntries

  • Add or update ACEs in the ACL for the provided token. The request body contains the target token, a list of ACEs and a optional merge parameter. In the case of a collision (by identity descriptor) with an existing ACE in the ACL, the "merge" parameter determines the behavior. If set, the existing ACE has its allow and deny merged with the incoming ACE's allow and deny. If unset, the existing ACE is displaced.

    Parameters

    • params: object
      • apiVersion: string
      • body: JObject
      • organization: string
      • securityNamespaceId: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<ArrayWrapper<AccessControlEntry>>

Generated using TypeDoc