Herald
OpenapiDevice

Device_authorize

POST
/api/device/{realmId}/authorize

Path Parameters

realmId*string

Realm ID

Request Body

application/x-www-form-urlencoded
  1. body
client_id*string

Response Body

Device authorization created

application/json
  1. response
device_code*string
expires_in*integer
Formatint64
interval*integer
Formatint64
user_code*string
verification_uri*string
verification_uri_complete*string
Example Request
curl -X POST 'https://example.com/api/device/string/authorize' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'client_id=string'
Example Response
{
  "device_code": "string",
  "expires_in": 0,
  "interval": 0,
  "user_code": "string",
  "verification_uri": "string",
  "verification_uri_complete": "string"
}