post:
  operationId: testConfiguration
  tags:
    - Sources
  summary: Test configuration for the source connector
  description: >-
    This endpoint performs a more detailed validation of the source's configuration that can take longer than the
    lighter weight credential validation performed by the checkConnection API.

    A token with ORG_ADMIN authority is required to call this API.
  security:
    - oauth2: [idn:source-connector:write]
  parameters:
    - in: path
      name: sourceId
      schema:
        type: string
      required: true
      description: The ID of the Source
      example: cef3ee201db947c5912551015ba0c679
  responses:
    '200':
      description: The result of testing source connector configuration with response from it.
      content:
        application/json:
          schema:
            $ref: '../schemas/StatusResponse.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '404':
      $ref: '../../v3/responses/404.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'
