States - Delete

Removes a state definition in the work item type of the process.

DELETE https://dev.azure.com/{organization}/_apis/work/processdefinitions/{processId}/workItemTypes/{witRefName}/states/{stateId}?api-version=4.1-preview.1

URI Parameters

Name In Required Type Description
organization
path True

string

The name of the Azure DevOps organization.

processId
path True

string

uuid

ID of the process

stateId
path True

string

uuid

ID of the state

witRefName
path True

string

The reference name of the work item type

api-version
query True

string

Version of the API to use. This should be set to '4.1-preview.1' to use this version of the api.

Responses

Name Type Description
200 OK

successful operation

Security

accessToken

Personal access token. Use any value for the user name and the token as the password.

Type: basic

Examples

Delete the state definition

Sample Request

DELETE https://dev.azure.com/{organization}/_apis/work/processdefinitions/{processId}/workItemTypes/{witRefName}/states/{stateId}?api-version=4.1-preview.1

Sample Response