POST
/
connections
/
{connectionId}
/
password
Generate or set password for a connection
curl --request POST \
  --url https://qubesync.com/api/v1/connections/{connectionId}/password \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "password": "<string>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "password": "<string>"
}

Authorizations

Authorization
string
header
required

Use your app's API_KEY as the username, and leave the password blank

Path Parameters

connectionId
string<uuid>
required

ID of the connection

Body

application/json

Response

200
application/json

Password generated/set successfully

The response is of type object.