dots.v2.functions.namespaces.byNamespace_id().delete()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.functions.namespaces.byNamespace_id(namespace_id).delete(requestConfiguration?: RequestConfiguration<object>): Promise<void>Description
Deletes the given namespace. When a namespace is deleted all assets, in the namespace are deleted, this includes packages, functions and triggers. Deleting a namespace is a destructive operation and assets in the namespace are not recoverable after deletion. Some metadata is retained, such as activations, or soft deleted for reporting purposes.
To delete namespace, send a DELETE request to /v2/functions/namespaces/{namespace_id}.
A successful deletion returns a 204 response.
Parameters
namespace_idstring requiredExample:
fn-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxThe ID of the namespace to be managed.
Request Sample
More Information
See /v2/functions/namespaces/{namespace_id} in the API reference for additional detail on responses, headers, parameters, and more.