Service Principal Entitlements - Delete
从帐户中删除服务主体。
删除操作包括取消分配扩展和许可证,以及从所有项目成员身份中删除服务主体。 如果服务主体是直接添加到帐户的 AAD 组的成员,则服务主体将继续有权访问该帐户。
DELETE https://vsaex.dev.azure.com/{organization}/_apis/serviceprincipalentitlements/{servicePrincipalId}?api-version=7.1-preview.1
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
organization
|
path | True |
string |
Azure DevOps 组织的名称。 |
service
|
path | True |
string uuid |
服务主体的 ID。 |
api-version
|
query | True |
string |
要使用的 API 版本。 这应设置为“7.1-preview.1”才能使用此版本的 API。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
成功的操作 |
安全性
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.memberentitlementmanagement_write | 授予管理用户、其许可证以及他们可以访问的项目和扩展的能力 |