Search + K

Command Palette

Search for a command to run...

Sign In

Remove a Namespace

DELETE /accounts/{account_id}/storage/kv/namespaces/{namespace_id}
Copy endpoint
https://api.cloudflare.com/client/v4

Deletes the namespace corresponding to the given ID.

Parameters

path Path Parameters

Name Type
namespace_id required
type WorkersKvNamespaceIdentifier = string
account_id required
type WorkersKvIdentifier = string

Request Body

application/json required
unknown

Responses

200 application/json

Remove a Namespace response.

type WorkersKvApiResponseCommonNoResult = interface WorkersKvApiResponseCommon {
errors: WorkersKvMessages
type WorkersKvMessages = { code: number;message: string; }[]
;
messages: WorkersKvMessages
type WorkersKvMessages = { code: number;message: string; }[]
;
success: true;
}
& { result?: {} | null; }

Client Errors

4XX application/json

Remove a Namespace response failure.

interface WorkersKvApiResponseCommonFailure {
errors: WorkersKvMessages
type WorkersKvMessages = { code: number;message: string; }[]
;
messages: WorkersKvMessages
type WorkersKvMessages = { code: number;message: string; }[]
;
result: {} | null;
success: false;
}