File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,16 @@ declare module "fastly:kv-store" {
38
38
* @param name Name of the Fastly KV Store to interact with. A name cannot be empty, contain Control characters, or be longer than 255 characters.
39
39
*/
40
40
constructor ( name : string ) ;
41
+ /**
42
+ * Delete the value associated with the key `key` in the KV Store.
43
+ * @param key The key to retrieve from within the KV Store. A key cannot:
44
+ * - Be any of the strings "", ".", or ".."
45
+ * - Start with the string ".well-known/acme-challenge/""
46
+ * - Contain any of the characters "#?*[]\n\r"
47
+ * - Be longer than 1024 characters
48
+ */
49
+ delete ( key : string ) : Promise < undefined > ;
50
+
41
51
/**
42
52
* Gets the value associated with the key `key` in the KV Store.
43
53
* When the key is present, a resolved Promise containing an KVStoreEntry will be returned which contains the associated value.
You can’t perform that action at this time.
0 commit comments