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

From Social ID Developers
Revision as of 14:07, 23 March 2020 by Ivan.filho (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 succesfully.
unauthorized (401) The authentication is wrong. See Authentication.
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