// Replace API_KEY with your api key and :changelogId with changelog id
curl --location --request PUT 'https://api.supahub.com/api/v1/changelogs/subscribe' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer API_KEY' \
--data-urlencode '[email protected]' \
--data-urlencode 'subscribe=false'
PUT
method
/changelogs/subscribe
path

Body Parameters

userEmail
string
required
Email address of the user subscribing to updates.
userName
string
Name of the subscribing user.
subscribe
boolean
required
Set to true to subscribe, false to unsubscribe.
// Replace API_KEY with your api key and :changelogId with changelog id
curl --location --request PUT 'https://api.supahub.com/api/v1/changelogs/subscribe' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer API_KEY' \
--data-urlencode '[email protected]' \
--data-urlencode 'subscribe=false'