Skip to main content

deleteMethod

Performs a DELETE request with automatic error handling. Throws HomunculusApiError on non-OK responses.

Parameters

ParameterTypeDescription
urlURLThe URL to send the DELETE request to

Returns

Promise<Response>

Example

await host.deleteMethod(host.createUrl("vrm/123"));