Add 'action' to API docs
This commit is contained in:
parent
8401e8ac3c
commit
90f9247362
1 changed files with 2 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue