Share via


Access Control Entries - Remove Access Control Entries

指定したトークンに属する ACL から、指定した ACE を削除します。

DELETE https://dev.azure.com/{organization}/_apis/accesscontrolentries/{securityNamespaceId}?api-version=7.1-preview.1
DELETE https://dev.azure.com/{organization}/_apis/accesscontrolentries/{securityNamespaceId}?token={token}&descriptors={descriptors}&api-version=7.1-preview.1

URI パラメーター

名前 / 必須 説明
securityNamespaceId
path True

string

uuid

セキュリティ名前空間識別子。

organization
path

string

Azure DevOps 組織の名前です。

api-version
query True

string

使う API のバージョン。 このバージョンの API を使用するには、これを '7.1-preview.1' に設定する必要があります。

descriptors
query

string

エントリを削除する必要がある ',' で区切られた ID 記述子の一覧を含む文字列。

token
query

string

ACL を変更する必要があるトークン。

応答

名前 説明
200 OK

boolean

正常な操作

セキュリティ

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

名前 説明
vso.security_manage セキュリティ アクセス許可の読み取り、書き込み、管理を行う機能を付与します。

Sample Request

DELETE https://dev.azure.com/fabrikam/_apis/accesscontrolentries/5a27515b-ccd7-42c9-84f1-54c998f03866?token=newToken&descriptors=Microsoft.TeamFoundation.Identity;S-1-9-1551374245-1204400969-2402986413-2179408616-0-0-0-0-1,Microsoft.TeamFoundation.Identity;S-1-9-1551374245-1204400969-2402986413-2179408616-0-0-0-0-2&api-version=7.1-preview.1

Sample Response

true