POST
timeseries/models/{modelID}/deletestreamsdata
Delete datapoints of multiple streams.
Resource Information
Method and URI | POST https://developer.api.autodesk.com/tandem/v1/timeseries/models/{modelID}/deletestreamsdata |
Authentication Context | user context optional |
Required OAuth Scopes | data:write |
Data Format | JSON |
Request
Headers
Authorization* string | Must be Bearer <token> , where <token> is obtained via either a two-legged or three-legged OAuth flow. |
Content-Type* string | Must be application/json |
* Required
Request
URI Parameters
modelID string | Model URN of the model owning the stream |
Request
Query String Parameters
substreams string | Comma separated list of sub-streams to delete data from |
from int | Lower time boundary (yyyy-mm-dd) of time range to be deleted |
to int | Upper time boundary (yyyy-mm-dd) of time range to be deleted |
allSubstreams int | Enables deletion of all stream data only by their keys, without filtering by substreams |
Request
Body Structure
List of IDs (incl flags) of the stream elements
keys array: string |
Response
HTTP Status Code Summary
204 No Content | |
400 Bad Request | The service was unable to process the request. The syntax of the request may be malformed or the request may be missing a required header. Do not resend the request without fixing the issue. The response body may indicate what is wrong with the request. |
403 Forbidden | Unauthorized |
500 Internal Server Error | The service encountered an error that it was unable to handle. Wait for a few minutes and resend the request. If the error persists, contact us at aps.help@autodesk.com . |
Response
Body Structure (204)
Response for 204 has no body.