> ## Documentation Index
> Fetch the complete documentation index at: https://docs.woopsocial.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete social account

> Deletes one social account connection by ID.

This removes the associated OAuth grant, including stored access and
refresh tokens, so the account no longer counts toward the
organization's active connected-account allowance.




## OpenAPI

````yaml /openapi.yaml delete /social-accounts/{socialAccountId}
openapi: 3.1.0
info:
  title: WoopSocial API
  version: 1.0.0
  summary: API for WoopSocial integrations.
  description: >
    This is the public-facing OpenAPI contract for WoopSocial. It supports
    scheduling posts for various social media platforms such as Facebook,
    Instagram, LinkedIn, LinkedIn Pages, Pinterest, Threads, TikTok, X (formerly
    Twitter) and YouTube.
servers:
  - url: https://api.woopsocial.com/v1
    description: WoopSocial API URL.
  - url: http://localhost:9123/api/external/v1
    description: Local WoopSocial API URL.
security: []
tags:
  - name: Posts
    description: Post scheduling endpoints.
  - name: Projects
    description: Project discovery endpoints.
  - name: Social Accounts
    description: Connected social account discovery endpoints.
  - name: Media
    description: Media upload endpoints.
  - name: Webhooks
    description: Webhook endpoint management.
  - name: Health
    description: Basic connectivity endpoints.
paths:
  /social-accounts/{socialAccountId}:
    delete:
      tags:
        - Social Accounts
      summary: Delete social account
      description: |
        Deletes one social account connection by ID.

        This removes the associated OAuth grant, including stored access and
        refresh tokens, so the account no longer counts toward the
        organization's active connected-account allowance.
      operationId: deleteSocialAccount
      parameters:
        - $ref: '#/components/parameters/SocialAccountId'
      responses:
        '204':
          description: Social account connection deleted.
        '404':
          description: Social account not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteSocialAccountErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteSocialAccountErrorResponse'
      security:
        - ApiKey: []
components:
  parameters:
    SocialAccountId:
      name: socialAccountId
      in: path
      required: true
      schema:
        type: string
      description: Connected social account identifier.
  schemas:
    DeleteSocialAccountErrorResponse:
      type: object
      additionalProperties: false
      required:
        - code
        - message
      properties:
        code:
          $ref: '#/components/schemas/DeleteSocialAccountErrorCode'
        message:
          type: string
    DeleteSocialAccountErrorCode:
      type: string
      enum:
        - SOCIAL_ACCOUNT_NOT_FOUND
        - INTERNAL_ERROR
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: API key

````