users

Delete social accounts for the authenticated user

Deletes one or more social accounts from the authenticated user's profile.

OAuth app tokens and personal access tokens (classic) need the user scope to use this endpoint.

delete/user/social_accounts

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/user/social_accounts
  • Auth: none declared

Request body

account_urlsstring[] required

Full URLs for the social media profiles to delete.

Example request

{
  "account_urls": [
    "https://www.linkedin.com/company/github/",
    "https://twitter.com/github"
  ]
}

Response

Response

Changes

No recorded changes to this operation across all 83 revisions of this API.