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

# Select Linkedin Target

> Pick which LinkedIn author the team publishes as — the member's personal
account OR an admin'd Company Page (org-posting). ``author_urn`` MUST be one
of the options surfaced by ``GET /integrations/status`` (``linkedin_targets``);
an off-list value 404s so a client can't post as an arbitrary organization.
Flips the credential to ``connected``.



## OpenAPI

````yaml /openapi.json post /api/v1/teams/{team_id}/integrations/linkedin/select-target
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/teams/{team_id}/integrations/linkedin/select-target:
    post:
      tags:
        - Team Integrations
      summary: Select Linkedin Target
      description: >-
        Pick which LinkedIn author the team publishes as — the member's personal

        account OR an admin'd Company Page (org-posting). ``author_urn`` MUST be
        one

        of the options surfaced by ``GET /integrations/status``
        (``linkedin_targets``);

        an off-list value 404s so a client can't post as an arbitrary
        organization.

        Flips the credential to ``connected``.
      operationId: >-
        select_linkedin_target_api_v1_teams__team_id__integrations_linkedin_select_target_post
      parameters:
        - name: team_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Team Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SelectLinkedInTargetRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallbackResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SelectLinkedInTargetRequest:
      properties:
        author_urn:
          type: string
          title: Author Urn
      type: object
      required:
        - author_urn
      title: SelectLinkedInTargetRequest
    CallbackResponse:
      properties:
        provider:
          type: string
          title: Provider
        status:
          type: string
          title: Status
        account_name:
          type: string
          title: Account Name
      type: object
      required:
        - provider
        - status
        - account_name
      title: CallbackResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````