Skip to main content

DELETE /api/v1/events/{id}/pin

Unpin a previously pinned event. The event returns to its normal position in the feed.

Authentication​

Required -- Bearer token. Caller must be the event creator.

Request​

ParameterTypeInDescription
idint64pathEvent ID (int64)

Example​

curl -X DELETE https://api.intotes.com/api/v1/events/1/pin \
-H "Authorization: Bearer <token>"

Response​

200 OK​

{
"status": "ok"
}

403 Forbidden​

Returned when the authenticated user is not the event creator.

{
"error": "forbidden"
}

404 Not Found​

{
"error": "event not found"
}