Skip to main content
POST
Create a device-agent auth code

Body

application/json
callback_port
number
required

Localhost port the device agent is listening on to receive the auth callback

Required range: 1 <= x <= 65535
Example:

54321

state
string
required

Opaque anti-forgery value generated by the device agent and echoed back on callback

Example:

"9f2c1b7a4d3e5f60718293a4b5c6d7e8"

Response

201 - undefined