Skip to main content

DeleteTagByEmail

Delete tags from contacts according to email address.

POST /api/v3/userinfo/delete_tag_by_email

Request parameters

For more information on the query parameters, see Query parameters.

AttributeData typeRemarksDescription
emailstringrequiredEmail
modify_tsbigintrequiredTimestamp of deletion (in milliseconds)
tags[]stringrequiredCustom tags for the grouping of users, used in user segmentation:
  • Ensure the tags have been created in SmartLink > Contacts > Tag management, else the deletion will fail.
  • Up to 10 tags can be deleted at a time.

Request sample

curl --request POST "https://openapi.smartlink.intlgame.com/api/v3/userinfo/delete_tag_by_email?gameid=${GAME_ID}&seq=${YOUR_RANDOM_STRING}&sig=${SIGNATURE}&ts=${TS}" \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "545058834@qq.com",
"modify_ts": 1691225447577,
"tags": [
"tag1",
"tag2"
]
}'

Response parameters

AttributeData typeDescription
codeintReturn code
msgstringReturn message

Response sample

{
"code":0,
"msg":"Success",
"seq": "{YOUR_RANDOM_STRING}"
}