POST api/v1/orgs/{orgid}/RemoveAttachment

To Remove the attachment file for a given job .

Request Information

Parameters

NameDescriptionAdditional information
orgid
ID of the organization the user and job belongs to

Define this parameter in the request URI.

removeJobAttachment

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "JobId": 1,
  "FileName": "sample string 2"
}

application/xml, text/xml

Sample:
<RemoveJobAttachment xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <JobId>1</JobId>
  <FileName>sample string 2</FileName>
</RemoveJobAttachment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RemoveJobAttachment'.