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

From Social ID Developers
(Difference between revisions)
Jump to: navigation, search
(Response Status)
 
Line 21: Line 21:
 
== Authentication ==
 
== Authentication ==
  
This API requires Social Login App authentication. See [[Authentication]].
+
This API requires Login App authentication. See [[Authentication]].
  
 
== Response ==
 
== Response ==

Latest revision as of 16:52, 30 December 2021

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 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