Skip to main content
PATCH
TypeScript SDK

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

resourceType
enum<string>
required

Kind of resource to pin or unpin: session, pull_request, project, or folder.

Available options:
session,
pull_request,
project,
folder
resourceId
string<uuid>
required

ID of the pinned session, pull request, project, or folder, not a separate pin ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
placement
object
required

Reorder an existing pin before or after another pin. Use createPin to pin a resource and deletePin to unpin it.

Response

Update a pin

updated
boolean
required