Work Item Types Fields - Remove Field From Work Item Type
删除进程的工作项类型中的字段。
DELETE https://dev.azure.com/{organization}/_apis/work/processdefinitions/{processId}/workItemTypes/{witRefNameForFields}/fields/{fieldRefName}?api-version=4.1-preview.1
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
field
|
path | True |
string |
字段的引用名称 |
organization
|
path | True |
string |
Azure DevOps 组织的名称。 |
process
|
path | True |
string uuid |
进程的 ID |
wit
|
path | True |
string |
字段的工作项类型引用名称 |
api-version
|
query | True |
string |
要使用的 API 版本。 这应设置为“4.1-preview.1”才能使用此版本的 API。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
成功的操作 |
安全性
accessToken
个人访问令牌。 将任何值用作用户名和令牌作为密码。
类型:
basic
示例
Delete field from work item type
示例请求
DELETE https://dev.azure.com/{organization}/_apis/work/processdefinitions/{processId}/workItemTypes/{witRefNameForFields}/fields/{fieldRefName}?api-version=4.1-preview.1