Skip to content
Download Beeper

Remove bridge login

POST/v1/bridges/{bridgeID}/logins/{loginID}/remove

Remove a bridge login from this device or, when supported by the bridge, from all devices.

Path ParametersExpand Collapse
bridgeID: string

Bridge ID.

minLength1
loginID: string

Bridge login ID.

minLength1
Body ParametersJSONExpand Collapse
scope: "current-device" or "all-devices"

Where this bridge login should be removed.

One of the following:
"current-device"
"all-devices"
ReturnsExpand Collapse
bridgeID: string
loginID: string
scope: "current-device" or "all-devices"

Where this bridge login should be removed.

One of the following:
"current-device"
"all-devices"
status: "removed"
affectedAccountIDs: optional array of string

Remove bridge login

curl http://localhost:23373/v1/bridges/$BRIDGE_ID/logins/$LOGIN_ID/remove \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $BEEPER_ACCESS_TOKEN" \
    -d '{
          "scope": "current-device"
        }'
{
  "bridgeID": "bridgeID",
  "loginID": "loginID",
  "scope": "current-device",
  "status": "removed",
  "affectedAccountIDs": [
    "string"
  ]
}
Returns Examples
{
  "bridgeID": "bridgeID",
  "loginID": "loginID",
  "scope": "current-device",
  "status": "removed",
  "affectedAccountIDs": [
    "string"
  ]
}