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

# Aggiornare gli URL dell'attività

> **Piano richiesto:** Professionale o Enterprise.

Aggiorna gli URL di un'attività usando il collegamento a un file di URL.



## OpenAPI

````yaml /it/api/openapi.json post /task/urls:file
openapi: 3.0.1
info:
  title: API Octoparse
  description: >-
    Octoparse OpenAPI consente di gestire le attività tramite codice, eseguire
    estrazioni cloud e recuperare i dati estratti. URL di base:
    `https://openapi.octoparse.com`
  version: 1.0.0
servers:
  - url: https://openapi.octoparse.com
    description: Server API Octoparse
security: []
paths:
  /task/urls:file:
    post:
      tags:
        - Task
      summary: Aggiornare gli URL dell'attività
      description: |-
        **Piano richiesto:** Professionale o Enterprise.

        Aggiorna gli URL di un'attività usando il collegamento a un file di URL.
      operationId: updateTaskUrls
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - taskId
                - file
              properties:
                taskId:
                  type: string
                file:
                  type: string
                  format: binary
                  description: File contenente gli URL (uno per riga)
      responses:
        '200':
          description: URL dell'attività aggiornati
          content:
            application/json:
              schema:
                type: object
                properties:
                  requestId:
                    type: string
      security:
        - apiKeyAuth: []
        - bearerAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Invia una chiave API Octoparse nell'header x-api-key. Crea e gestisci le
        chiavi nel centro account Octoparse. In genere, le chiavi iniziano con
        op_sk_.
    bearerAuth:
      type: http
      scheme: bearer
      description: Usa l'access_token ottenuto da POST /token

````