Skip to Content
Comments

Pin/Unpin Comment

Accès

Membre de l’organisation avec cette autorisation :

  • comments:write

Une clé API avec des scopes doit aussi avoir l’autorisation dans ses scopes.

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