action britbox_authorize_device { label: "authorizeDevice" description: "Authorize a device from a generated device authorization code.\n\nThis is the second step in the process of authorizing a device by pin code.\n\nFirstly the device must request a generated authorization code via the\n`/authorization/device/code` endpoint.\n\nThis endpoint then authorizes the device associated with the code to sign in\nto a user account. Typically this endpoint will be called from a page\npresented in the web app under the account section.\n\nOnce authorized, the device will then be able to sign in to that account\nvia the `/authorization/device` endpoint, without needing to provide the \ncredentials of the user.\n" provider: britbox method: POST path: "/account/devices/authorization" encoding: json input: { type: "object" required: ["code"] properties: { code: { type: "string" description: "The generated device authorization code." } } additionalProperties: false } output: { type: "object" additionalProperties: true } }