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

# Remover influenciador

> Exclusão granular: com `short_code` remove apenas aquele link; sem `short_code` remove a campanha (`campaign_id`) e, com `delete_influencer: true`, o influenciador inteiro (custos por nome + cadastro). Requer o escopo `influencers.write`.



## OpenAPI

````yaml delete /influencers
openapi: 3.1.0
info:
  title: Solomon Admin API
  description: API aberta para integração com a Solomon
  license:
    name: MIT
  version: 1.1.0
servers:
  - url: https://admin-api.sandbox.solomon.com.br/admin/v1
  - url: https://admin-api.solomon.com.br/admin/v1
security:
  - ApiKeyAuth: []
paths:
  /influencers:
    delete:
      summary: Remover link, campanha ou influenciador
      description: >-
        Exclusão granular: com `short_code` remove apenas aquele link; sem
        `short_code` remove a campanha (`campaign_id`) e, com
        `delete_influencer: true`, o influenciador inteiro (custos por nome +
        cadastro). Requer o escopo `influencers.write`.
      operationId: deleteInfluencer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteInfluencer'
            example:
              name: Duda Raiz
              campaign_id: N93ys5
              delete_influencer: true
      responses:
        '200':
          description: Tudo removido com sucesso
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfluencerDeleteResponse'
        '207':
          description: Remoção parcial (alguma operação falhou)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfluencerDeleteResponse'
        '500':
          description: Erro interno do servidor
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DeleteInfluencer:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        campaign_id:
          type: string
          description: Campanha a remover (quando `short_code` ausente)
        short_code:
          type: string
          description: Quando presente, remove apenas este link.
        delete_influencer:
          type: boolean
          description: >-
            Quando true, remove o influenciador inteiro (custos por nome +
            cadastro).
    InfluencerDeleteResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: object
          properties:
            message:
              type: string
            data:
              type: array
              items:
                type: object
                properties:
                  message:
                    type: string
                  status:
                    type: integer
        request_id:
          type: string
        timestamp:
          type: string
    Error:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
        request_id:
          type: string
        timestamp:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API Key para autenticação

````