Tearleads

DELETE/auth/device-pairing/{pairingId}

Cancel a device pairing rendezvous

Operation auth.devicePairing.cancel

Description

Deletes a pairing rendezvous immediately when the initiating device cancels or finishes onboarding. Requires the secret X-Pairing-Status-Token.

Authentication

No session is required.

Parameters

NameInTypeDetails
pairingIdpathstringrequired
  • exactly 32 characters
  • pattern ^[0-9a-f]{32}$
x-pairing-status-tokenheaderstringrequired
  • exactly 64 characters
  • lowercase hexadecimal

Responses

200 OK

application/jsonCancelDevicePairingResponse

Confirmation that the pairing rendezvous has been deleted.

1 field
  • cancelledbooleanrequired
    • always true

    Always true.

Other fields are allowed.

Other responses

StatusMeaningBody
400Bad Request

application/jsonErrorResponse

404Not Found

application/jsonErrorResponse

500Internal Server Error

application/jsonErrorResponse

503Service Unavailable

application/jsonErrorResponse