Auth pair decision request

Request of pair decision auth

Endpoint

POST /api/auth/pair/decision/

Auth

Authorization: Bearer ${token}

Body

Content-Type: application/json
Json
{
    "approved": false,
    "identity": ""
}

Response

Json
[
    {
        "kind": "status",
        "payload": {
            "code": 0,
            "message": ""
        }
    }
]

Notes

  • Requires the MASTER permission over TCP/IP, implied over the Unix socket
  • identity comes from the request entity of POST /api/auth/pair/
  • Approving and rejecting both consume the pairing session, so a new code is needed either way
  • Deciding a session no console has claimed answers 409