Skip to main content
PUT
/
v2
/
workspaces
/
{workspace_id}
/
peers
/
{peer_id}
/
card
Set Peer Card
curl --request PUT \
  --url http://localhost:8000/v2/workspaces/{workspace_id}/peers/{peer_id}/card \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "peer_card": [
    "<string>"
  ]
}
'
{
  "peer_card": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace_id
string
required

ID of the workspace

peer_id
string
required

ID of the observer peer

Query Parameters

target
string | null

The peer whose card to set. If not provided, sets the observer's own card

Body

application/json

Peer card data to set

peer_card
string[]
required

The peer card content to set

Response

Successful Response

peer_card
string[] | null

The peer card content, or None if not found