In this article
Delete Sample By Id
Delete a sample by its Id
URL
https://{{HOST}}/timeseries/samples/{sample_id}
Method
DELETE
Required IMS Scopes
- Read
- Write
Required ACL Permissions
- owner
- admin
Versions Supported
- 2.3
URL Path Parameters
| Name | Description | Example | Type |
|---|---|---|---|
| sample_id required |
Id of the sample to delete | fb6ec89e-f4dc-4f37-823e-c49b69f23cdb:QuarterlyHourAverage:1485812700000 | string |
URL Query Parameters
| Name | Description | Example | Type |
|---|---|---|---|
| v required |
Version of the API to use | v=2.3 | string |
Request Header Parameters
| Type | Value | Description |
|---|---|---|
| Authentication required |
Bearer {access_token} | Retrieve access token |
Example
Request
curl -X DELETE
'https://{{HOST}}/timeseries/samples/fb6ec89e-f4dc-4f37-823e-c49b69f23cdb:QuarterlyHourAverage:1485812700000?v=2.3'
-H 'Authorization: Bearer {access_token}
Errors
| Error | Description |
|---|---|
| 400 | Bad Request |
| 403 | Forbidden |
| 404 | Not Found |
| 429 | Server Too Busy |
| 500 | Internal Server Error |