Resource: Step Result Attachment ( /api/stepresult/{stepResultId}/attachment/{id} )
Allows you to manage a single step result attachment.
This resource supports the following methods: DELETE
Methods
DELETE
Deletes an attachment from the step result.
Required Permissions
- TestManagement/ExecuteTests
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).
| Status | Description |
|---|---|
| 200 - OK | Returned if the request was completed successfully. |
| 403 - Forbidden | Returned if you have insufficient permissions to delete the attachment. |
| 404 - NotFound | Returned if the attachment or step result does not exist. |
Example - Delete attachment
Delete an attachment associated with the step result.
Request Headers
| Key | Value | Description |
|---|---|---|
| Accept | application/json |
Request Parameters
| Key | Value | Description |
|---|---|---|
| {stepResultId} | 4A685B80-BC5A-42BE-82E0-616D0E70FF05 | The unique identifier (GUID) of the step result to delete. |
| {id} | B1105C56-43AB-4F66-AFDE-1135AAC851E5 | The unique identifier (GUID) of the attachment to delete |
Response Headers
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json; charset=utf-8 |
Status Code
200 - OK