Skip to main content
DELETE
/
streams
/
{streamId}
Delete stream (DEPRECATED)
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\"}]}"
  }
}

Authorizations

Authorization
string
header
required

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.

Path Parameters

streamId
string
required

An identifier of the stream where the records are stored.

Required string length: 1 - 100
Pattern: ^[a-z]([a-z0-9_-]{0,98}[a-z0-9])?$
Example:

"test1"

Response

410 - application/json

This endpoint is deprecated and no longer supported. Please use POST /streams/delete instead.

error
object
required
Last modified on April 23, 2026