DELETE login/users/:user id
(Difference between revisions)
(→Description) |
|||
Line 20: | Line 20: | ||
This API requires Social Login App authentication. See [[Authentication]]. | This API requires Social Login App authentication. See [[Authentication]]. | ||
+ | |||
+ | == Response == | ||
+ | |||
+ | === Response Status === | ||
+ | {| | ||
+ | ! align="left" width="200px" | ok (200) | ||
+ | | The user was deleted successfully. | ||
+ | |- | ||
+ | ! align="left" width="200px" | unauthorized (401) | ||
+ | | The authentication is wrong. See [[Authentication]]. | ||
+ | |- | ||
+ | ! align="left" width="200px" | forbidden (403) | ||
+ | | The Login App does not have access to this user. | ||
+ | |- | ||
+ | ! align="left" width="200px" | internal_server_error (500) | ||
+ | | An unknown error happened. | ||
+ | |} | ||
== Examples == | == Examples == |
Revision as of 19:26, 22 June 2018
Contents |
Description
Deletes a user.
Resource URL
DELETE https://api.socialidnow.com/v1/marketing/login/users/:user_id
Parameters
URL Parameters
user_id | required | user identifier. |
---|
Authentication
This API requires Social Login App authentication. See Authentication.
Response
Response Status
ok (200) | The user was deleted successfully. |
---|---|
unauthorized (401) | The authentication is wrong. See Authentication. |
forbidden (403) | The Login App does not have access to this user. |
internal_server_error (500) | An unknown error happened. |
Examples
Request
curl -iX DELETE 'https://api.socialidnow.com/v1/marketing/login/users/:user_id' \ --user <api_id>:<api_secret>
Response
Response Headers
HTTP/1.1 200 OK Status: 200