how can I change "Assigned To" from specific user to unspecified? I used {name: '-'} mainly for my UI which is obviously not enough to be used as input, perhaps {id: '', name: '-'} or {id: null, name: '-'}?
thanks in advance and Merry Christmas & Happy New Year!
We can specify null
values to both assigned_to
and assigned_to_type
to remove the user from the issue and make it be unspecified.
curl --location --request PATCH 'https://developer.api.autodesk.com/issues/v1/containers/:issueContainerId/quality-issues/:issueId' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "quality_issues",
"id": "{{issueId}}",
"attributes": {
"assigned_to": null,
"assigned_to_type": null
}
}
}'
API ref: https://forge.autodesk.com/en/docs/bim360/v1/reference/http/field-issues-:id-PATCH/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.