Skip to main content
DELETE
DELETE /v1/apiEndpoints/{id}

Delete an API Endpoint

Delete an API endpoint by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.

Delete by ID

id
string
required
UUID of the API endpoint to delete.
recursive
boolean
default:"false"
Recursively delete child entities.
hardDelete
boolean
default:"false"
Permanently delete the API endpoint. If false, the API endpoint is soft-deleted and can be restored.

Delete by Name

Use DELETE /v1/apiEndpoints/name/{fqn} to delete by fully qualified name.
fqn
string
required
Fully qualified name of the API endpoint (e.g., sample_api_service.pet.addPet).
recursive
boolean
default:"false"
Recursively delete child entities.
hardDelete
boolean
default:"false"
Permanently delete the API endpoint.

Restore a Soft-Deleted API Endpoint

Use PUT /v1/apiEndpoints/restore to restore a soft-deleted API endpoint.
id
string
required
UUID of the soft-deleted API endpoint to restore.
DELETE /v1/apiEndpoints/{id}

Returns

Soft delete returns the API endpoint object with deleted: true. Hard delete returns no content (204). Restore returns the restored API endpoint object.

Error Handling