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 parameter
token: string
alias: string
folder: string
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
| |
|
|
Examples
Request
# 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}'
Response
200 Response
{
"success": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| error |