Skip to content

Commit

Permalink
add disconnect profile docs
Browse files Browse the repository at this point in the history
  • Loading branch information
otothea committed Jul 27, 2022
1 parent 9aeb959 commit a9b1187
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions docs/loyalty/documentation/user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ User API
- `Verify Email Address`_
- `Upload A Custom Avatar`_
- `Create Shopify Multipass Session`_
- `Disconnect Platform From Profile`_

List Users
----------
Expand Down Expand Up @@ -574,3 +575,35 @@ href string The href to the Shopify Multipass session
"href": "https://xxxxx"
}
Disconnect Platform From Profile
--------------------------------
Use this input to disconnect a platform from their profile. You should replace ``:platform`` with the platform you want to disconnect.
Platform can be: ``twitch``, ``youtube``, ``facebook``, ``instagram``, ``discord``, ``twitter``, ``spotify``, ``steam``, ``battlenet``, ``chess``, ``tiktok``
- **DELETE** /user/profile/:platform
Request
=========== ======== ==========================================
Field Type Description
=========== ======== ==========================================
\- \- \-
=========== ======== ==========================================
.. code-block:: js
const response = await axios.get('https://botisimo.com/api/v1/loyalty/:team/user/profile/twitch', {
headers: {
'x-user-auth-token': 'xxxxxxx',
},
});
Response
=========== ======== ==========================================
Field Type Description
=========== ======== ==========================================
\- \- \-
=========== ======== ==========================================

0 comments on commit a9b1187

Please sign in to comment.