API Stability Long-Term

The updateUploadFileAction() GraphQL mutation may be used to update an upload file action.

Syntax

Below is the syntax for the updateUploadFileAction() mutation field:

graphql
updateUploadFileAction(
      input: UpdateUploadFileAction!
   ): UploadFileAction!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  updateUploadFileAction( input:
    { viewName: "humio",
      id: "abc123",
      name: "file-act",
      fileName: "my-file.csv"
    } )
  { fileName }
}
Example Responses
Show:
json
{
  "data": {
    "updateUploadFileAction": {
      "fileName": "my-file.csv"
    }
  }
}

Given Datatypes

For UpdateUploadFileAction, there are a few parameters that may be given. Below is a list of them along with a description of each:

Table: UpdateUploadFileAction

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Feb 26, 2025
fileNamestringyes  The file name for the uploaded file.
idstringyes  The unique identifier of the action.
namestringyes  The name of the action.
viewNamestringyes  The name of the view of the action.

Returned Datatypes

The returned datatype UploadFileAction has several parameters. Below is a list of them along with a description of each:

Table: UploadFileAction

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Mar 27, 2025
allowedActions[AssetAction]yes PreviewA list of allowed asset actions. See AssetAction. This is a preview and subject to change.
displayNamestringyes Long-TermThe display name of the action.
fileNamestringyes Long-TermThe name of the uploaded file.
idstringyes Long-TermThe unique identifier of the action.
isAllowedToRunbooleanyes Long-TermFalse if disabled because of a security policy.
namestringyes Long-TermThe name of the action.
packagePackageInstallationyes Long-TermThe package, if any, of which the action is part. See PackageInstallation.
packageIdVersionedPackageSpecifier  Long-TermThe unique identifier of the package. VersionedPackageSpecifier is a scalar.
requiresOrganizationOwnedQueriesPermissionToEditbooleanyes Long-TermTrue if this action is used by triggers, where the query is run by the organization. If true, the OrganizationOwnedQueries permission is required to edit.
resourcestringyes Short-TermThe resource identifier for this action.
yamlTemplateyamlyes Long-TermA template that can be used to recreate the action.