토픽 구독 해제
토픽 구독 해제 생성
POST
https://api.mint-app.com/v1/topic/unsubscribe
사용자 아이디는 반드시 MintApp.setUser 이후에 api를 사용해야한다.
Request Body
Name
Type
Description
user_id
string
로그인한 사용자의 아이디
type
string
민트앱에서 생성된 토픽 종류
{
"result": "success",
"data": "https://push-link.domain.com/12345"
"message" : "인증번호를 전송하였습니다."
}
sample
curl --location --request POST 'https/api.mint-app.com/v1/topic/unsubscribe' \
--header 'Accept: application/json' \
--header 'api-key: {api-key}' \
--header 'api-secret: {api-secret}' \
--form 'user_id="3"' \
--form 'type="gender_male"'
Last updated
Was this helpful?