POST
/pins.removeRemove a pinned item from a channel
Removes a pinned item from a channel. Supply the target channel and, when removing a pinned message, provide its timestamp to identify the item. Use an authentication token with the pins:write scope to perform the operation.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringrequired
Authentication token with the `pins:write` scope.
Form data identifying the channel and item to unpin.
channelstringrequired
Channel where the item is pinned to.
timestampstringoptional
Timestamp of the message to un-pin.
200Returns an object with `ok` set to true confirming that the item was unpinned.
okbooleanrequired
defaultReturned when the channel or pinned item cannot be found, the item is not pinned, or authentication, permission, or request arguments are invalid; the response includes `ok` set to false and an `error` reason.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
okbooleanrequired
Error handling
The token must include the pins:write scope, and channel must identify the channel containing the pinned item. Supply timestamp when removing a pinned message, using the message timestamp rather than a reply timestamp.