I ran:
curl --request DELETE \
'https://apigee.googleapis.com/v1/organizations/[project id]' \
--header 'Authorization: Bearer [token]' \
--header 'Accept: application/json' \
--compressed
3 days later the instance in the organisation has been deleted but the organisation itself is still accessible. If I re-run the above I get this error:
{
"error": {
"code": 400,
"message": "the resource is locked by another operation where organization [organisation name] is being deleted by operation: 36ad2fe4-b684-440c-a4f6-85873f2e7f3e",
"status": "FAILED_PRECONDITION",
"details": [
{
"@type": "type.googleapis.com/google.rpc.RequestInfo",
"requestId": "15694122905172259919"
}
]
}
}
How can I troubleshoot this?
Checking again today the organisation is no longer accessible (page now states 'No Apigee subscriptions enabled for any of your GCP projects'). I wonder if 3-4 days is expected for a deletion request.
.
Was this a paid org? I have seen insanely long delete times for eval and haven't risked trying a delete for paid.
It was an eval org.