curl --request DELETE \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/streams/{streamId} \
--header 'Authorization: Bearer <token>'{
"error": {
"code": 410,
"message": "This endpoint is deprecated and no longer supported. Please use POST /streams/delete instead with body: {\"items\": [{\"externalId\": \"your-stream-id\"}]}"
}
}Required capabilities:
StreamsAcl:DELETE
DEPRECATED: This endpoint is no longer supported and returns HTTP 410 Gone.
Please use POST /streams/delete instead.
curl --request DELETE \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/streams/{streamId} \
--header 'Authorization: Bearer <token>'{
"error": {
"code": 410,
"message": "This endpoint is deprecated and no longer supported. Please use POST /streams/delete instead with body: {\"items\": [{\"externalId\": \"your-stream-id\"}]}"
}
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
An identifier of the stream where the records are stored.
1 - 100^[a-z]([a-z0-9_-]{0,98}[a-z0-9])?$"test1"
This endpoint is deprecated and no longer supported. Please use POST /streams/delete instead.
Show child attributes
Was this page helpful?