Skip to main content
PUT
/
v2
/
workspaces
/
{workspace_id}
/
peers
/
{peer_id}
Update Peer
curl --request PUT \
  --url http://localhost:8000/v2/workspaces/{workspace_id}/peers/{peer_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {},
  "configuration": {}
}
'
{
  "id": "<string>",
  "workspace_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "metadata": {},
  "configuration": {}
}

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 peer to update

Body

application/json

Updated peer parameters

metadata
Metadata · object
configuration
Configuration · object

Response

Successful Response

id
string
required
workspace_id
string
required
created_at
string<date-time>
required
metadata
Metadata · object
configuration
Configuration · object