POST
/stars.removeRemove a star from an item
Removes a star from a message, channel, file, or file comment. Supply an authentication token with the stars:write scope and identify the item using the applicable target fields. The request succeeds only when the item is currently starred.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringrequired
Authentication token with the `stars:write` scope.
Form-encoded fields identifying the item from which to remove the star.
channelstringoptional
Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).
filestringoptional
File to remove star from.
file_commentstringoptional
File comment to remove star from.
timestampstringoptional
Timestamp of the message to remove star from.
200Returns an object with `ok` set to true when the star is removed.
okbooleanrequired
defaultReturns an error object with `ok` set to false and an `error` value describing why the star could not be removed.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
okbooleanrequired
Error handling
Supply token with the stars:write scope and provide an item target through channel, timestamp, file, or file_comment. The target must identify an existing starred message, channel, file, or file comment.