跳转到主要内容
GET
/
unsubscribe
/
{token}
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/unsubscribe/{token} \
  --header 'Authorization: Bearer <token>'
{
  "type": "automation",
  "baseId": "<string>",
  "email": "<string>",
  "subscriptionStatus": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

token
string
required

Response

200 - application/json

Successful response

type
enum<string>
required
可用选项:
automation,
notify,
system,
verifyCode,
resetPassword,
invite,
common,
exportBase,
collaboratorCellTag,
collaboratorMultiRowTag,
notifyMerge,
waitlistInvite,
automationSendEmailAction
baseId
string
required
email
string
required
subscriptionStatus
boolean