Create a KV namespace
Creates a new KV namespace. Provisioning is asynchronous: the namespace is returned with status pending and becomes usable once it reaches provision_ok.
POST
JavaScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
KV namespace creation request
Namespace name. May contain lowercase letters, numbers, and hyphens only.
Required string length:
1 - 255Pattern:
^[a-z0-9-]+$Example:
"my-cache"
Response
KV namespace created successfully
JavaScript