Skip to main content
POST
/
connections
/
{connection_id}
/
password
Generate or set password for a connection
curl --request POST \
  --url https://qubesync.com/api/v1/connections/{connection_id}/password \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "password": "<string>"
}'
{
  "data": {
    "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

connection_id
string<uuid>
required

ID of the connection

Body

application/json
password
string

Optional. If provided, will set this as the connection password. If omitted, a random password will be generated.

Response

Password generated/set successfully

data
object