Help Contents

 

Agile Run Step Result Attachment

Resource: Agile Run Step Result Attachment ( /api/agilerun/{runId}/step/{stepId}/attachment/{attachmentId} )

Allows you to manage a single step attachment.

This resource supports the following methods: DELETE

Methods

DELETE


Deletes an attachment from the agile run step.

Required Permissions

  • TestManagement/ManageExecutions/ExecuteAllTests
  • TestManagement/ManageExecutions/ExecuteOnlyMyTests

Status Codes

These are the expected status codes returned by the service. In addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).

StatusDescription
200 - OKReturned if the request was completed successfully.
403 - ForbiddenReturned if you have insufficient permissions to delete the attachment.
404 - NotFoundReturned if the attachment or agile run step does not exist.

Example - Delete attachment

Delete an attachment associated with an agile run step.

Request Headers

KeyValueDescription
Acceptapplication/json

Request Parameters

KeyValueDescription
{runId}2175D908-5EF1-4CF0-875C-CED70B2537B0The unique identifier (GUID) of the agile run.
{stepId}4A685B80-BC5A-42BE-82E0-616D0E70FF05The unique identifier (GUID) of the step the attachment belongs to in the agile run.
{attachmentId}B1105C56-43AB-4F66-AFDE-1135AAC851E5The unique identifier (GUID) of the attachment to delete

Response Headers

KeyValueDescription
Content-Typeapplication/json; charset=utf-8

Status Code

200 - OK