4.18h

TextMarks API V2 - AutoDoc: GroupLeader / delete_message()

Method: delete_message() (POST) - Delete a previously sent TextMark group message

Package: GroupLeader - Broadcast and manage messages and members (... View package)

Args:

Req? Name Type Description Test
REQ auth_user User User account / phone# used for login
REQ auth_pass Password Password
REQ tm TextMark TextMark group led by auth_user
REQ msg_id Integer ID of message to delete
OPT api_key API Key API Key (Register here)

Test:


Docs:

  • This method allows the group leader to delete a previously sent message such that it no longer appears in public message displays.
  • Note that this method cannot recall SMS messages from delivery, but only applies to the message archive associated with the group as kept by TextMarks.
  • Messages sent by users or group leaders may be deleted similarly.
  • See messages() in this API package and Anybody.textmark_messages() for means of retrieving group messages and their ids.

Resp:

JSON response.head.rescode==0 for success, or error code otherwise.
JSON-P callback: (as 'jsonp' param, optional) (blank for none)

HTTP:

POST https://api2ssl.textmarks.com//GroupLeader/delete_message/

More:

This page documents a single API function delete_message() within the GroupLeader package of the TextMarks Text Message API.
You may use the interactive form above to invoke this function and observe its actual JSON response.

More resources: