MCPcopy
hub / github.com/wechatpy/wechatpy / delete

Method delete

wechatpy/client/api/tag.py:60–75  ·  view source on GitHub ↗

删除标签 :param tag_id: 标签 ID :return: 返回的 JSON 数据包

(self, tag_id)

Source from the content-addressed store, hash-verified

58 )
59
60 def delete(self, tag_id):
61 """
62 删除标签
63
64 :param tag_id: 标签 ID
65 :return: 返回的 JSON 数据包
66
67 """
68 return self._post(
69 'tags/delete',
70 data={
71 'tag': {
72 'id': tag_id
73 }
74 }
75 )
76
77 def tag_user(self, tag_id, user_id):
78 """

Callers 5

test_tag_deleteMethod · 0.45
test_material_deleteMethod · 0.45
test_group_deleteMethod · 0.45
test_delete_menuMethod · 0.45

Calls 1

_postMethod · 0.45

Tested by 5

test_tag_deleteMethod · 0.36
test_material_deleteMethod · 0.36
test_group_deleteMethod · 0.36
test_delete_menuMethod · 0.36