콘텐츠로 이동

1대1 채팅 비활성화

Endpoint

[POST] API URL 정보

https://patch-kakao-api.happytalk.io/v1/profile/chat/deactivate
https://kakao-api.happytalk.io/v1/profile/chat/deactivate

Request (Json)

Field Name Type Required Description
Content-type String Y application/json
HT-Client-Id String Y 고객센터에서 발급 받은 key
HT-Client-Secret String Y 고객센터에서 발급 받은 token

Body

Field Name Type (Length) Required Description Default
sender_key String (40) Y 발신프로필 키

Example

REST API Sample
curl --location --request POST 'https://patch-kakao-api.happytalk.io/v1/profile/chat/deactivate' \
--header 'Content-Type: application/json' \
--header 'HT-Client-Id: 고객센터에서 발급받은 client-id' \
--header 'HT-Client-Secret: 고객센터에서 발급받은 client-secret' \
--data-raw '{
    "sender_key" : "등록된 프로필 sender_key (발신 프로필 등록시 생성)"
}'
curl --location --request POST 'https://kakao-api.happytalk.io/v1/profile/chat/deactivate' \
--header 'Content-Type: application/json' \
--header 'HT-Client-Id: 고객센터에서 발급받은 client-id' \
--header 'HT-Client-Secret: 고객센터에서 발급받은 client-secret' \
--data-raw '{
    "sender_key" : "등록된 프로필 sender_key (발신 프로필 등록시 생성)"
}'

Response (Json)

Parameter

Field Name Type Description
code String 성공 : 200

Example

Success
{
    "code": "200"
}
Failure

Fail Code 정보

Data Dictionary

Data Dictionary

None

None