From 90f9247362acb1769f6b99f4474de51d7654dc5f Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 22 May 2017 12:18:20 +0300 Subject: [PATCH] Add 'action' to API docs --- docs/api.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api.rst b/docs/api.rst index 3801322ad38f..3a74705057fa 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -109,6 +109,8 @@ Updating Data You can archive, delete or restore an entity by setting ``action`` in the request +.. code-block:: shell + curl -X PUT ninja.dev/api/v1/invoices/1?action=archive \ -H "X-Ninja-Token: TOKEN"