DeleteWorkitemExtRelationRecord - Delete an external resource association
Updated at:
|
Applicable editions |
Region edition |
Endpoints and authorization
-
Get endpoints: Replace
{domain}in the API request syntax. -
Get the organization ID: Required for the Central edition only. Go to organization admin center > Basic Information to obtain the organization ID.
|
Product |
Resource |
Required permission |
|
Projex |
work item |
Read and write permission |
Request syntax
Region edition
DELETE https://{domain}/oapi/v1/projex/workitems/{id}/extRelationRecords/{relationRecordId}
Request headers
|
Parameter |
Type |
Required |
Description |
Example |
|
x-yunxiao-token |
string |
Yes |
The personal access token. |
pt-0fh3****0fbG_35af****0484 |
Request parameters
|
Parameter |
Type |
Location |
Required |
Description |
Example |
|
id |
string |
path |
Yes |
The unique identifier of the work item. |
|
|
relationRecordId |
string |
path |
Yes |
The association record ID. |
Request example
Region edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/projex/workitems/{id}/extRelationRecords/{relationRecordId}' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
|
Parameter |
Type |
Description |
Example |
|
- |
boolean |
Whether the deletion succeeded. |
true |
Response example
true
Error codes
For API error codes, see Error Code Center.
Is this page helpful?