cURL
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": {} }
Update a Peer’s name and/or metadata
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace
ID of the peer to update
Updated peer parameters
Successful Response