updateAttachments

Click to copy

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

Use dark colors for code blocksCopy
1
2
3
token: string
alias: string
folder: string

Path parameters

NameTypeRequired

jobId

string

attachmentId

string

orgId

string

itemId

string

Examples

Request

Use dark colors for code blocksCopy
1
2
3
4
5
# 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

Use dark colors for code blocksCopy
1
2
3
{
  "success": true
}
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.