Deletes a specified work item.
Endpoint and authorization information
- Get the endpoint: Replace {domain} in the API request syntax.
- Get a personal access token.
|
Product |
Resource |
Required permission |
|
Project Collaboration |
Work item |
Read and write |
Request syntax
Region edition
DELETE https://{domain}/oapi/v1/projex/workitems/{id}
Request headers
|
Parameter |
Type |
Required |
Description |
Example value |
|
x-yunxiao-token |
string |
Yes |
Personal access token. |
pt-0fh3****0fbG_35af****0484 |
Request parameters
|
Parameter |
Type |
Location |
Required |
Description |
Example value |
|
id |
string |
path |
Yes |
Unique identifier of the work item. |
|
Request examples
Region edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/projex/workitems/{id}' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
None
Error codes
For API-related error codes, see Error Code Center.