updateAttachments

POST
1
/{orgId}/{itemId}/jobs/{jobId}/attachments/{attachmentId}

Update existing embedded or linked attachment on a job

Update alias and folder names for existing attachments associated with a job. The jobUpdateAttachments privilege is required to update attachments on a job.

Body parameters

Supported content types: multipart/form-data

NameTypeRequiredDescription

token

string

string

Updated display name for the attachment. Alias cannot be set to null.

string

New folder under which the attachment will be stored.

alias

Updated display name for the attachment. Alias cannot be set to null.

folder

New folder under which the attachment will be stored.

Path parameters

NameTypeRequired

jobId

string

attachmentId

string

orgId

string

itemId

string

Examples

Request

1
2
3
4
5
6
# You can also use wget
curl -X POST /{orgId}/{itemId}/jobs/{jobId}/attachments/{attachmentId} \
  -H 'Content-Type: multipart/form-data' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}' \
  --data '{"token":"string","alias":"string","folder":"string"}'

Response

StatusMeaningDescriptionSchema

200

OK

success

Success

400

Bad Request

error

WorkflowExceptionDTO

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close