Skip to main content
PATCH
Update Pairing
Update the permission level on an existing pairing. Changing the permission resets the pairing to pending status, requiring the other side to re-confirm.
Either side of the pairing can update the permission. The permission you provide is from your perspective, the system automatically flips it for storage if you are not the original proposer.

Request

Headers

string
required
Bearer token. Example: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx

Path Parameters

string
required
The pairing ID (UUID) to update.

Body Parameters

string
required
New permission level from your perspective. One of: both, send_only, receive_only.

Response

string
The pairing ID.
string
The new permission from your perspective.
string
Always pending after an update (requires re-confirmation).
string
Confirmation message: Permission updated. The other side must re-confirm the pairing.

Examples

Response

Errors