DELETE login/users/:user id/credentials/:provider

(Difference between revisions)
Jump to: navigation, search
(Created page with "== Description == Removes a Social App credential from a User. == Resource URL == DELETE https://api.socialidnow.com/v1/marketing/login/users/:user_id/credentials/:provi...")
 
(Response Status)
Line 29: Line 29:
 
{|
 
{|
 
! align="left" width="200px" | ok (200)
 
! align="left" width="200px" | ok (200)
| Credential removed succesfully.
+
| Credential removed successfully.
 
|-
 
|-
 
! align="left" width="200px" | unauthorized (401)
 
! align="left" width="200px" | unauthorized (401)
 
| The authentication is wrong. See [[Authentication]].
 
| The authentication is wrong. See [[Authentication]].
 +
|-
 +
! align="left" width="200px" | forbidden (403)
 +
| The login app does not have permission to access the user.
 
|-
 
|-
 
! align="left" width="200px" | not_found (404)
 
! align="left" width="200px" | not_found (404)

Revision as of 17:53, 27 March 2020

Contents

Description

Removes a Social App credential from a User.

Resource URL

  DELETE https://api.socialidnow.com/v1/marketing/login/users/:user_id/credentials/:provider

URL Parameters

user_id required User identifier.
provider required Social provider. Supported providers are: "facebook", "gplus", "linkedin", "twitter", "instagram" and "apple".

Authentication

This API requires Social Login App authentication. See Authentication.

Response

Response Status

ok (200) Credential removed successfully.
unauthorized (401) The authentication is wrong. See Authentication.
forbidden (403) The login app does not have permission to access the user.
not_found (404) The user was not found.
internal_server_error (500) An unknown error happened.

Examples

Request

 curl -iX DELETE 'https://api.socialidnow.com/v1/marketing/login/users/2136/credentials/linkedin‘ \
        --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf

Response

Response Headers

HTTP/1.1 200 Ok
Status: 200
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox