curl --request DELETE \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/postgres/{postgres_database_reference}/metric-destination/{metric_destination_id} \
--header 'Authorization: Bearer <token>'{
"error": {
"code": 401,
"message": "There was an error logging in",
"type": "InvalidCredentials",
"details": {}
}
}curl --request DELETE \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/postgres/{postgres_database_reference}/metric-destination/{metric_destination_id} \
--header 'Authorization: Bearer <token>'{
"error": {
"code": 401,
"message": "There was an error logging in",
"type": "InvalidCredentials",
"details": {}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Ubicloud location/region
"eu-central-h1"
Postgres Metric Destination ID
"et7ekmf54nae5nya9s6vebg43f"
Postgres database ID or name Resource ID or name
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
An empty response after successful resource delete