Comments

Pin/Unpin Comment

PATCH
/orgs/{organizationId}/comments/{id}/pin

Pins or unpins a comment. Any authenticated user can pin/unpin comments.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. body
pinned*boolean

Response Body

OK

application/json
  1. response
curl -X PATCH 'https://api.tillor.eu/orgs/string/comments/string/pin' \  -H 'Content-Type: application/json' \  -d '{  "pinned": true}'
null