Reverse a completed import
POST
/portfolio/bulk-import/{guid}/reverseQueues an asynchronous job to roll back all records created by the specified import. The original import must be in a terminal state (not queued or processing) and must not have already been reversed. Returns 202 with the reversal job's GUID for status polling.
Path parameters
Request body
application/json, optional
{
"reversal_reason": "string"
}Responses
200
202Examples
curl -X POST https://your-org-domain/kong/core/api/v2/portfolio/bulk-import/{guid}/reverse\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"\
-d '{
"reversal_reason": "string"
}'