curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/processes/signals/subscriptions/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"update": {
"filter": {
"set": {
"resource": "<string>",
"category": [
"<string>"
],
"severity": "info",
"extractorExternalId": "<string>",
"extractorVersion": "<string>"
}
}
}
}
]
}
'{
"items": [
{
"externalId": "my.known.id",
"sink": {
"type": "email",
"externalId": "my.known.id"
},
"filter": {
"topic": "cognite_integrations",
"resource": "<string>",
"category": [
"<string>"
],
"severity": "info",
"extractorExternalId": "<string>",
"extractorVersion": "<string>"
},
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Required capabilities:
subscribeSignalsAcl:WRITE
Update one or more subscriptions in the project.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/processes/signals/subscriptions/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"update": {
"filter": {
"set": {
"resource": "<string>",
"category": [
"<string>"
],
"severity": "info",
"extractorExternalId": "<string>",
"extractorVersion": "<string>"
}
}
}
}
]
}
'{
"items": [
{
"externalId": "my.known.id",
"sink": {
"type": "email",
"externalId": "my.known.id"
},
"filter": {
"topic": "cognite_integrations",
"resource": "<string>",
"category": [
"<string>"
],
"severity": "info",
"extractorExternalId": "<string>",
"extractorVersion": "<string>"
},
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}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.
Subscriptions to update.
List of subscription updates.
1 - 10 elementsShow child attributes
Updated subscriptions.
100Show child attributes
Was this page helpful?