Skip to Content
Comments

Pin/Unpin Comment

Acces

Membru al organizației cu această permisiune:

  • comments:write

O cheie API cu scopuri are nevoie și de permisiune printre scopurile sale.

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
Example Request
curl -X PATCH 'https://api.tillor.eu/orgs//comments/string/pin' \  -H 'Content-Type: application/json' \  -d '{  "pinned": true}'
Example Response
null