Jira Legacy | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
3. Send delete request passing JobExecution id as URI parameter
Method | Description |
---|---|
DELETE /change-manager/jobExecutions/{jobExecutionId}/records | Delete JobExecution and associated records in SRS. Refer to API documentation. |
Code Block |
---|
curl -w '\n' -X DELETE -D - \ -H "Content-type: application/json" \ -H "Accept: */*" \ -H "x-okapi-tenant: diku" \ -H "x-okapi-token: {{valid-token}}" \ {{host}}/change-manager/jobExecutions/3e46d1a3-2bb4-4951-91f8-e53c5dfc7cec/records |
...
Expect successful response status 204 with no content
Warning: After the removal of the target records from in SRS, related Instance (from Inventory) doesn't know about records absence and 'SOURCE' field is still equal to 'MARC'. As a result, 'View source' button continues to be displayed.
...