Skip to content

Delete a kv store

DELETE
/api/v2/organizations/{organization}/projects/{project}/kv/{store_id}
curl --request DELETE \
--url 'https://dashboard.quantcdn.io/api/v2/organizations/test-org/projects/test-project/kv/0000?force=false' \
--header 'Authorization: Bearer <token>'
organization
required
string

Organization identifier

Example
test-org
project
required
string

Project identifier

Example
test-project
store_id
required
string
Example
0000
force
boolean

Delete the store even if it still holds keys. Without it a non-empty store returns 409.

The request has succeeded.

The server could not understand the request due to invalid syntax.

Media typeapplication/json
object
message
required

Error message

string
error
required

Error flag

boolean
Example
{
"message": "The requested resource was not found",
"error": true
}

Access is forbidden.

Media typeapplication/json
object
message
required

Error message

string
error
required

Error flag

boolean
Example
{
"message": "The requested resource was not found",
"error": true
}

The store is not empty. Clear its keys in the dashboard or pass force=true.

Media typeapplication/json
object
error
boolean
message
string
hint
string
Example
{
"error": true,
"message": "KV store is not empty",
"hint": "Purge its keys first, or pass force=true to delete it with its data"
}