Subscriptions
Subscriptions are a declaration of interest in a particular resource, allowing a user to receive notifications when certain events occur. The events that trigger notifications are controlled by the type of subscription.
Objects
Subscription
| Path | JSON Type | Format | Description |
|---|---|---|---|
id | string | Version 4 UUID | The subscription ID |
created | string | ISO 8601 timestamp | The instant the subscription was created at |
lastModified | string | ISO 8601 timestamp | The instant the subscription was last modified at |
type | string | Subscription Type | The type of subscription |
{
"id" : "98471d74-0193-416e-af62-8f9dffe63d38",
"created" : "2026-07-30T15:41:53.917011",
"lastModified" : "2026-07-30T15:41:53.917011",
"type" : "ALL",
"_embedded" : {
"channel" : {
"name" : "matatika-limited",
"description" : "Matatika Limited",
"picture" : "https://cdn.auth0.com/avatars/ml.png?ssl=1"
},
"subscriberProfile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "DELETE"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "PUT"
},
"channel" : {
"href" : "https://app.matatika.com/api/channels/b847be2f-1c4e-4d10-a740-719f842c6d61"
}
}
}
Formats
Subscription Type
string
| Value | Description |
|---|---|
ALL | Triggers notifications for all resource events |
ALERTS | Triggers notifications for resource alert events only |
NONE | Does not trigger any notifications |
Requests
View all subscriptions
GET /api/subscriptions
Returns all subscriptions for the authenticated user profile.
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/subscriptions' -i -X GET \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/subscriptions"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Subscription collection with HAL links.
{
"_embedded" : {
"subscriptions" : [ {
"id" : "98471d74-0193-416e-af62-8f9dffe63d38",
"created" : "2026-07-30T15:41:53.917011",
"lastModified" : "2026-07-30T15:41:54.009726",
"type" : "ALERTS",
"_embedded" : {
"channel" : {
"name" : "matatika-limited",
"description" : "Matatika Limited",
"picture" : "https://cdn.auth0.com/avatars/ml.png?ssl=1"
},
"subscriberProfile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "DELETE"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "PUT"
},
"channel" : {
"href" : "https://app.matatika.com/api/channels/b847be2f-1c4e-4d10-a740-719f842c6d61"
}
}
}, {
"id" : "76e3d254-d32b-44d4-801c-08e7186ed050",
"created" : "2026-07-30T15:41:54.189536",
"lastModified" : "2026-07-30T15:41:54.189537",
"type" : "ALL",
"_embedded" : {
"subscriberProfile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"dataset" : {
"id" : "75c65f74-9ecc-48a2-be98-d349eb55bf1b",
"published" : "2026-07-30T15:41:43.614033",
"alias" : "simple-bar-chart",
"workspaceId" : "896eff40-3fec-4842-81d9-ea0ac6dad3b3",
"source" : "matatika-limited",
"title" : "How many people have visited our website?",
"description" : "# Some Markdown\n- point 1\n- point 2\n- point 3\n",
"questions" : "[''This is my question'', ''this is second question'']",
"visualisation" : "{\"google-chart\": {\"chartType\": \"BarChart\",\"options\": {\"title\": \"Website visitors\"}}}",
"query" : "SELECT to_char(date(report_date),'YYYYMM') as year_month, SUM(sessions) \n FROM\n \"google_analytics_website_overview\"\n WHERE\n \"google_analytics_website_overview\".\"report_date\" >= DATE(NOW()) - INTERVAL '365 DAY'\n GROUP BY year_month\n ORDER BY year_month ASC;",
"likeCount" : 0,
"likedByProfiles" : [ ],
"commentCount" : 0,
"viewCount" : 0,
"created" : "2026-07-30T15:41:43.616987",
"score" : 1.0
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/76e3d254-d32b-44d4-801c-08e7186ed050"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/76e3d254-d32b-44d4-801c-08e7186ed050",
"type" : "DELETE"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/76e3d254-d32b-44d4-801c-08e7186ed050",
"type" : "PUT"
},
"dataset" : {
"href" : "https://app.matatika.com/api/datasets/75c65f74-9ecc-48a2-be98-d349eb55bf1b"
}
}
}, {
"id" : "ed3a1dfb-b5b1-49c1-9498-47831bcca7f5",
"created" : "2026-07-30T15:41:59.576765",
"lastModified" : "2026-07-30T15:41:59.576765",
"type" : "ALL",
"_embedded" : {
"subscriberProfile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"pipeline" : {
"id" : "76fe0e27-88d2-446b-82ec-4576f2939421",
"label" : "SIT-generated-pipeline",
"name" : "sit-generated-pipeline",
"lastModified" : "2026-07-30T15:41:54.377403"
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/ed3a1dfb-b5b1-49c1-9498-47831bcca7f5"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/ed3a1dfb-b5b1-49c1-9498-47831bcca7f5",
"type" : "DELETE"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/ed3a1dfb-b5b1-49c1-9498-47831bcca7f5",
"type" : "PUT"
},
"pipeline" : {
"href" : "https://app.matatika.com/api/pipelines/76fe0e27-88d2-446b-82ec-4576f2939421"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions?page=0&size=20"
}
},
"page" : {
"size" : 20,
"totalElements" : 3,
"totalPages" : 1,
"number" : 0
}
}
View all member subscriptions to a workspace
GET /api/workspaces/{workspace-id}/members/subscriptions
Returns all member subscriptions to the workspace {workspace-id}.
Prerequisites
- Workspace
{workspace-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/workspaces/896eff40-3fec-4842-81d9-ea0ac6dad3b3/members/subscriptions' -i -X GET \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/workspaces/896eff40-3fec-4842-81d9-ea0ac6dad3b3/members/subscriptions"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Subscription collection with HAL links.
{
"_embedded" : {
"subscriptions" : [ {
"id" : "ee2d485a-3ee5-4fb3-a1c3-9e80fd310af3",
"created" : "2026-07-30T15:41:59.68434",
"lastModified" : "2026-07-30T15:41:59.68434",
"type" : "ALL",
"_embedded" : {
"subscriberWorkspace" : {
"id" : "896eff40-3fec-4842-81d9-ea0ac6dad3b3",
"name" : "Test Workspace [2026-07-30T15:41:43.259724966]"
},
"workspace" : {
"id" : "896eff40-3fec-4842-81d9-ea0ac6dad3b3",
"name" : "Test Workspace [2026-07-30T15:41:43.259724966]"
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/ee2d485a-3ee5-4fb3-a1c3-9e80fd310af3"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/ee2d485a-3ee5-4fb3-a1c3-9e80fd310af3",
"type" : "PUT"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/ee2d485a-3ee5-4fb3-a1c3-9e80fd310af3",
"type" : "DELETE"
},
"workspace" : {
"href" : "https://app.matatika.com/api/workspaces/896eff40-3fec-4842-81d9-ea0ac6dad3b3"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/workspaces/896eff40-3fec-4842-81d9-ea0ac6dad3b3/members/subscriptions?page=0&size=20"
}
},
"page" : {
"size" : 20,
"totalElements" : 1,
"totalPages" : 1,
"number" : 0
}
}
View a subscription
GET /api/subscriptions/{subscription-id}
Returns the subscription {subscription-id}.
Prerequisites
- Subscription
{subscription-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38' -i -X GET \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Subscription with HAL links.
{
"id" : "98471d74-0193-416e-af62-8f9dffe63d38",
"created" : "2026-07-30T15:41:53.917011",
"lastModified" : "2026-07-30T15:41:53.917011",
"type" : "ALL",
"_embedded" : {
"channel" : {
"name" : "matatika-limited",
"description" : "Matatika Limited",
"picture" : "https://cdn.auth0.com/avatars/ml.png?ssl=1"
},
"subscriberProfile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "DELETE"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "PUT"
},
"channel" : {
"href" : "https://app.matatika.com/api/channels/b847be2f-1c4e-4d10-a740-719f842c6d61"
}
}
}
Subscribe to a workspace
POST /api/workspaces/{workspace-id}/subscriptions
Subscribes the authenticated user profile to the workspace {workspace-id}.
By default, the subscription is configured for all workspace events (see Subscription Type for more information).
Prerequisites
- Workspace
{workspace-id}must exist
Query Parameters
| Parameter | Required | Format | Default Value | Description |
|---|---|---|---|---|
allMembers | No | Boolean | false | Whether or not to subscribe the workspace to workspace events, in order to enable workspace-wide notifications for all members by default (applicable for the workspace owner only) |
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/workspaces/896eff40-3fec-4842-81d9-ea0ac6dad3b3/subscriptions?allMembers=true' -i -X POST \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com:443/api/workspaces/896eff40-3fec-4842-81d9-ea0ac6dad3b3/subscriptions?allMembers=true"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Subscription with HAL links.
{
"id" : "ee2d485a-3ee5-4fb3-a1c3-9e80fd310af3",
"created" : "2026-07-30T15:41:59.684339818",
"lastModified" : "2026-07-30T15:41:59.684340317",
"type" : "ALL",
"_embedded" : {
"subscriberWorkspace" : {
"id" : "896eff40-3fec-4842-81d9-ea0ac6dad3b3",
"name" : "Test Workspace [2026-07-30T15:41:43.259724966]"
},
"workspace" : {
"id" : "896eff40-3fec-4842-81d9-ea0ac6dad3b3",
"name" : "Test Workspace [2026-07-30T15:41:43.259724966]"
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/ee2d485a-3ee5-4fb3-a1c3-9e80fd310af3"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/ee2d485a-3ee5-4fb3-a1c3-9e80fd310af3",
"type" : "PUT"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/ee2d485a-3ee5-4fb3-a1c3-9e80fd310af3",
"type" : "DELETE"
},
"workspace" : {
"href" : "https://app.matatika.com/api/workspaces/896eff40-3fec-4842-81d9-ea0ac6dad3b3"
}
}
}
Subscribe to a channel
POST /api/channels/{channel-id}/subscriptions
Subscribes the authenticated user profile to the channel {channel-id}.
By default, the subscription is configured for all channel events (see Subscription Type for more information).
Prerequisites
- Channel
{channel-id}must exist
Query Parameters
| Parameter | Required | Format | Default Value | Description |
|---|---|---|---|---|
allMembers | No | Boolean | false | Whether or not to subscribe the workspace to channel events, enabling notifications for all members by default (applicable for the workspace owner only) |
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/channels/b847be2f-1c4e-4d10-a740-719f842c6d61/subscriptions' -i -X POST \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com:443/api/channels/b847be2f-1c4e-4d10-a740-719f842c6d61/subscriptions"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Subscription with HAL links.
{
"id" : "98471d74-0193-416e-af62-8f9dffe63d38",
"created" : "2026-07-30T15:41:53.917010869",
"lastModified" : "2026-07-30T15:41:53.917011209",
"type" : "ALL",
"_embedded" : {
"channel" : {
"name" : "matatika-limited",
"description" : "Matatika Limited",
"picture" : "https://cdn.auth0.com/avatars/ml.png?ssl=1"
},
"subscriberProfile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "DELETE"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "PUT"
},
"channel" : {
"href" : "https://app.matatika.com/api/channels/b847be2f-1c4e-4d10-a740-719f842c6d61"
}
}
}
Subscribe to a dataset
POST /api/datasets/{dataset-id}/subscriptions
Subscribes the authenticated user profile to the dataset {dataset-id}.
By default, the subscription is configured for all dataset events (see Subscription Type for more information).
Prerequisites
- Dataset
{dataset-id}must exist
Query Parameters
| Parameter | Required | Format | Default Value | Description |
|---|---|---|---|---|
allMembers | No | Boolean | false | Whether or not to subscribe the workspace to dataset events, enabling notifications for all members by default (applicable for the workspace owner only) |
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/datasets/75c65f74-9ecc-48a2-be98-d349eb55bf1b/subscriptions' -i -X POST \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com:443/api/datasets/75c65f74-9ecc-48a2-be98-d349eb55bf1b/subscriptions"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Subscription with HAL links.
{
"id" : "76e3d254-d32b-44d4-801c-08e7186ed050",
"created" : "2026-07-30T15:41:54.189535745",
"lastModified" : "2026-07-30T15:41:54.189536911",
"type" : "ALL",
"_embedded" : {
"subscriberProfile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"dataset" : {
"id" : "75c65f74-9ecc-48a2-be98-d349eb55bf1b",
"published" : "2026-07-30T15:41:43.614033",
"alias" : "simple-bar-chart",
"workspaceId" : "896eff40-3fec-4842-81d9-ea0ac6dad3b3",
"source" : "matatika-limited",
"title" : "How many people have visited our website?",
"description" : "# Some Markdown\n- point 1\n- point 2\n- point 3\n",
"questions" : "[''This is my question'', ''this is second question'']",
"visualisation" : "{\"google-chart\": {\"chartType\": \"BarChart\",\"options\": {\"title\": \"Website visitors\"}}}",
"query" : "SELECT to_char(date(report_date),'YYYYMM') as year_month, SUM(sessions) \n FROM\n \"google_analytics_website_overview\"\n WHERE\n \"google_analytics_website_overview\".\"report_date\" >= DATE(NOW()) - INTERVAL '365 DAY'\n GROUP BY year_month\n ORDER BY year_month ASC;",
"likeCount" : 0,
"likedByProfiles" : [ ],
"commentCount" : 0,
"viewCount" : 0,
"created" : "2026-07-30T15:41:43.616987",
"score" : 1.0
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/76e3d254-d32b-44d4-801c-08e7186ed050"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/76e3d254-d32b-44d4-801c-08e7186ed050",
"type" : "DELETE"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/76e3d254-d32b-44d4-801c-08e7186ed050",
"type" : "PUT"
},
"dataset" : {
"href" : "https://app.matatika.com/api/datasets/75c65f74-9ecc-48a2-be98-d349eb55bf1b"
}
}
}
Subscribe to a pipeline
POST /api/pipelines/{pipeline-id}/subscriptions
Subscribes the authenticated user profile to the pipeline {pipeline-id}.
By default, the subscription is configured for all pipeline events (see Subscription Type for more information).
Prerequisites
- Pipeline
{pipeline-id}must exist
Query Parameters
| Parameter | Required | Format | Default Value | Description |
|---|---|---|---|---|
allMembers | No | Boolean | false | Whether or not to subscribe the workspace to pipeline events, enabling notifications for all members by default (applicable for the workspace owner only) |
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/pipelines/76fe0e27-88d2-446b-82ec-4576f2939421/subscriptions' -i -X POST \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com:443/api/pipelines/76fe0e27-88d2-446b-82ec-4576f2939421/subscriptions"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Subscription with HAL links.
{
"id" : "ed3a1dfb-b5b1-49c1-9498-47831bcca7f5",
"created" : "2026-07-30T15:41:59.576764594",
"lastModified" : "2026-07-30T15:41:59.576765437",
"type" : "ALL",
"_embedded" : {
"subscriberProfile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"pipeline" : {
"id" : "76fe0e27-88d2-446b-82ec-4576f2939421",
"label" : "SIT-generated-pipeline",
"name" : "sit-generated-pipeline",
"lastModified" : "2026-07-30T15:41:54.377403"
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/ed3a1dfb-b5b1-49c1-9498-47831bcca7f5"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/ed3a1dfb-b5b1-49c1-9498-47831bcca7f5",
"type" : "DELETE"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/ed3a1dfb-b5b1-49c1-9498-47831bcca7f5",
"type" : "PUT"
},
"pipeline" : {
"href" : "https://app.matatika.com/api/pipelines/76fe0e27-88d2-446b-82ec-4576f2939421"
}
}
}
Update a subscription
PUT /api/subscriptions/{subscription-id}
Updates the subscription {subscription-id}.
Prerequisites
- Subscription
{subscription-id}must exist
Body
| Path | JSON Type | Format | Description |
|---|---|---|---|
type | string | Subscription Type | The type of subscription |
{
"type" : "ALERTS"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38' -i -X PUT \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json' \
-d '{
"type" : "ALERTS"
}'
import requests
url = "https://app.matatika.com:443/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38"
data = {
"type" : "ALERTS"
}
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("PUT", url, headers=headers, data=data)
print(response.text.encode('utf8'))
Response
200 OK
Subscription with HAL links.
{
"id" : "98471d74-0193-416e-af62-8f9dffe63d38",
"created" : "2026-07-30T15:41:53.917011",
"lastModified" : "2026-07-30T15:41:54.009725702",
"type" : "ALERTS",
"_embedded" : {
"channel" : {
"name" : "matatika-limited",
"description" : "Matatika Limited",
"picture" : "https://cdn.auth0.com/avatars/ml.png?ssl=1"
},
"subscriberProfile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
}
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38"
},
"delete subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "DELETE"
},
"update subscription" : {
"href" : "https://app.matatika.com/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38",
"type" : "PUT"
},
"channel" : {
"href" : "https://app.matatika.com/api/channels/b847be2f-1c4e-4d10-a740-719f842c6d61"
}
}
}
Remove a subscription
DELETE /api/subscriptions/{subscription-id}
Removes the subscription {subscription-id}.
Prerequisites
- Subscription
{subscription-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38' -i -X DELETE \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/subscriptions/98471d74-0193-416e-af62-8f9dffe63d38"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.