Skip to content

Commit a97b10a

Browse files
authored
Update API.md
1 parent 5e67ec1 commit a97b10a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/API.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,10 @@ Deletes a key, completely removing all references to it.
324324

325325
To delete a key from a specific category, add `"category": "name"` to the JSON body.
326326

327-
Methods: DELETE
327+
Methods: POST
328328

329329
```bash
330-
curl -X DELETE https://shuffler.io/api/v1/orgs/{org_id}/delete_cache -H "Authorization: Bearer APIKEY" -d '{"org_id": "ORG_ID", "key": "hi"}'
330+
curl -XPOST https://shuffler.io/api/v1/orgs/{org_id}/delete_cache -H "Authorization: Bearer APIKEY" -d '{"org_id": "ORG_ID", "key": "hi", "category": ""}'
331331
```
332332

333333

@@ -839,7 +839,7 @@ curl https://shuffler.io/api/v1/workflows/schedules -H "Authorization: Bearer AP
839839
```
840840

841841
### Schedule a workflow
842-
Schedule a workflow to run at certain intervals. The node in the workflow must exist, and that the **execution argument MUST be a string**.
842+
Schedule a workflow to run at certain intervals. The node in the workflow must exist, and that the **execution argument MUST be a string**. May not update the ID within a workflow.
843843

844844
Methods: POST
845845

0 commit comments

Comments
 (0)