Skip to content

Commit

Permalink
add delete user docs
Browse files Browse the repository at this point in the history
  • Loading branch information
otothea committed Nov 23, 2022
1 parent 4ee5ef3 commit c02cb6a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/loyalty/admin-documentation/user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ User API

- `Get User`_
- `Add Points`_
- `Delete User`_

Get User
--------
Expand Down Expand Up @@ -108,3 +109,28 @@ Field Type Description
================================== ======== =================================================================================
success boolean always true
================================== ======== =================================================================================

Delete User
-----------

Delete a user

- **DELETE** /user/:id

Request

.. code-block:: js
const response = await axios.delete('https://botisimo.com/api/v1/loyalty/admin/user/1', {
headers: {
'client-id': 'xxxxx-xxxxx-xxxxx-xxxxx',
},
});
Response

================================== ======== =================================================================================
Field Type Description
================================== ======== =================================================================================
success boolean always true
================================== ======== =================================================================================

0 comments on commit c02cb6a

Please sign in to comment.