Request

Response

    Patch the File identified by fileId attached to an Operation
    PATCH

    products/{productId}/operations/{operationId}/files/{fileId}

    Patches the File identified by fileId attached to the specified Operation. Only showOnTablet can be modified.

    Resource Information

    Method and URI
    PATCH
    https://api.aps.autodesk.com/fusion-operations/v2/products/{productId}/operations/{operationId}/files/{fileId}
    Authentication Context
    No security required
    Required OAuth Scopes
    data:read data:write
    Data Format
    JSON

    Request

    Headers

    Content-Type*
    string
    Must be application/merge-patch+json
    * Required

    Request

    URI Parameters

    productId
    int
    Unique identifier of the Product.
    operationId
    int
    Unique identifier of the Operation.
    fileId
    int
    Unique identifier of the File.

    Request

    Body Structure

    File attributes to update. showOnTablet is required.

    showOnTablet*
    boolean
    Indicates if the file should be shown in the tablet
    * Required

    Response

    HTTP Status Code Summary

    200
    OK
    File updated successfully.
    400
    Bad Request
    Bad request due to invalid data.
    401
    Unauthorized
    The access token is invalid. It may have either expired or may not be a three-legged access token. Please verify the token and retry the request.
    403
    Forbidden
    The request was successfully validated but lacked required permission. Please verify your token permissions and retry the request.
    404
    Not Found
    The resource in the path does not exist.
    429
    Too Many Requests
    Rate limit exceeded; wait some time before retrying.
    500
    Internal Server Error
    An unknown server-side error occurred. Please try again later. If the problem persists, please contact support.

    Response

    Header (429)

    Retry-After
    integer
    The number of seconds to wait before retrying the request.

    Response

    Body Structure (200)

    id
    int
    Unique identifier of the file.
    name
    string
    Max length: 255
    createdAt
    datetime: ISO 8601
    Creation date of the file (e.g. 2025-06-21T15:07:17Z)
    size
    int
    Size of the file in KiB (kibibytes)
    showOnTablet
    boolean
    Indicates if the file should be shown in the tablet

    Example

    File updated successfully.

    Request

    curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/products/:productId/operations/:operationId/files/:fileId' \
      -X 'PATCH' \
      -H 'Authorization: ' \
      -H 'Content-Type: application/json' \
      -d '{
            "showOnTablet": true
          }'
    

    Response

    {
      "id": 101,
      "name": "specification.pdf",
      "createdAt": "2024-04-02T15:30:00Z",
      "size": 128,
      "showOnTablet": true
    }