Skip to main content
POST
Give someone access, by handle or by email

Authorizations

Authorization
string
header
required

A pc_… token generated from Settings > API & MCP.

Path Parameters

targetId
string<uuid>
required

Identifier of a row.

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)$
targetKind
enum<string>
required

What is shared: a project, or an area and every project in it.

Available options:
project,
area

Body

application/json
role
enum<string>
required
Available options:
reader,
commenter,
editor
target
string
required
Required string length: 1 - 254

Response

Created.

kind
string
required
Allowed value: "member"
member
object
required
clampedToGuest
boolean
required