删除认证身份
您可以使用本接口删除自定义用户认证身份(identity_type = CUSTOMIZED_USER)。如果您想要编辑认证身份,需要先使用本接口删除该身份,再使用 /v1.3/identity/create/ 创建一个新的认证身份。
请求
地址
https://business-api.tiktok.com/open_api/v1.3/identity/delete/
方法 POST
Header
|字段|类型|描述|
|---|---|---|
|Access-Token {必填}|string|授权访问令牌。可以通过[获取访问令牌](https://ads.tiktok.com/marketing_api/docs?id=1738373164380162)接口获取。|
|Content-Type {必填}|string|请求信息类型。<br>允许格式:`application/json`。|
参数
|字段|类型|描述|
|---|---|---|
| advertiser_id {必填} | string |广告主ID。|
| identity_id {必填} | string |认证身份ID。
| identity_type {必填} | string |认证身份类型。目前本字段仅支持`CUSTOMIZED_USER`。
示例
(code curl http)
curl --location --request POST 'https://business-api.tiktok.com/open_api/v1.3/identity/delete/' \
--header 'Access-Token: {{Access-Token}}' \
--header 'Content-Type: application/json' \
--data '{
"advertiser_id":"{{advertiser_id}}",
"identity_id":"{{identity_id}}",
"identity_type":"CUSTOMIZED_USER"
}'
(/code)
返回
|字段|类型|描述|
|---|---|---|
|code |number|返回码,详见[附录-返回码](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)。|
|message |string|返回信息,详见[附录-返回码](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)。|
|data|object|返回数据。|
|request_id |string|请求的日志 ID,唯一标识一个请求。|
示例
(code curl http)
HTTPS/1.1 200 OK
{
"code": 0,
"message": "OK",
"request_id": "{{request_id}}",
"data": {}
}
(/code)