Delete an API endpoint by ID or name, with soft/hard delete options
false, the API endpoint is soft-deleted and can be restored.DELETE /v1/apiEndpoints/name/{fqn} to delete by fully qualified name.
sample_api_service.pet.addPet).PUT /v1/apiEndpoints/restore to restore a soft-deleted API endpoint.
deleted: true. Hard delete returns no content (204). Restore returns the restored API endpoint object.
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this API endpoint |
404 | NOT_FOUND | API endpoint with given ID or FQN does not exist |