members.update
PATCH /api/v1/boards/{id}/members/{userId}. A signed-in person (Clerk session cookie). Agent tokens are refused. Needs the members.manage permission on…
PATCH
/api/v1/boards/{id}/members/{userId}
Code sample: Shell / cURL
curl --request PATCH \ --url https://app.intraface.cc/api/v1/boards/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members/example \ --header 'Content-Type: application/json' \ --cookie __session=<__session> \ --data '{ "role": "editor" }'A signed-in person (Clerk session cookie). Agent tokens are refused. Needs the members.manage permission on the board. Body limit: 256 KB.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
userId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
role
required
string
Responses
Section titled “Responses”Success.
Media typeapplication/json
default
Section titled “default”Any error: see error.code.
Media typeapplication/json
object
error
required
object
code
required
A stable error code: see the error codes table in the API overview.
string
message
required
string
hint
string
details
Example generated
{ "error": { "code": "example", "message": "example", "hint": "example", "details": "example" }}