Delete Traces
Note: This request is supported in Blueprint 5.4 and later.
api/v1/projects/{projectId}/artifacts/{artifactId}/traces?reconcilewithtwoway={boolean}
Description |
Deletes the specified trace(s). You can only delete manual traces (that is, a trace manually added by a user). You cannot delete parent/child relationships or other relationships. Note: You can delete more than one trace in a single request as long as the |
URL Structure |
[Blueprint_URI]/api/v1/projects/{ProjectId}/artifacts/{ArtifactId}/traces
|
Supported Methods |
|
Request URI Parameters |
Note: This parameter is available in Blueprint 6.3 and later. |
Request Body Parameters |
The trace(s) must be included in the body of the request. Read more about how to specify one or more traces in the request body. |
Blueprint result codes
Your response may contain ResultCode and Message parameters if your request involves changes to Blueprint data. These parameters provide detailed information about the result of your request.
-
200 (OK)
- The artifact updated successfully.
-
421 (Trace Not Manual)
- Only valid trace value is Manual.
-
422 (Trace Not Found)
- The artifact does not have the specified trace.
-
425 (Trace Cannot Be Managed)
- In order to manage a trace, you need to have Trace permissions for both traced artifacts and Edit permissions for at least one artifact.
-
500: Internal Server Error
HTTP status codes
-
200: OK
-
201: Successfully Created
-
206: Partial Content
-
400: Bad Request
This error can occur for a variety of reasons:
-
401: Unauthorized
- The Blueprint token is missing, invalid or expired.
-
403: Forbidden
- The applicable permissions are needed. For example, this error can occur when:
- An Author or Collaborate license is needed for access.
- Comment permissions are needed on the artifact.
- Edit permissions are needed on the change summary job.
- The applicable permissions are needed. For example, this error can occur when:
-
404: NotFound
-
Item is not found in the project. For example, this error can occur when:
- Artifact not found.
- Artifact type not found.
- Project not found.
- ALM target not found.
- Change summary job not found.
- User does not have edit permissions for this artifact, project or ALM target.
-
-
409: Conflict
- Reason for failure can be found in the response body. Additional information may also be found in the log.
-
411: Length Required
- If the Content-Length header is missing in the request.
-
413: Request Entity Too Large
- If the provided file size is larger than allowed.
-
415: Unsupported Media Type
- If the provided media type is not of MIME Multipart Content "form-data."
-
416: Request Range Not Satisfiable
- If
offset
points to a part of a collection that is not available.
- If
-
501: Not Implemented
500: Internal Server Error