latestOpenAPI 3.1.02026-08-20118232229.3 KB

0e42b0fb26d9

Claim a device login ticket

Claims a device login ticket code for the authenticated user.

post/login/device/claim

Request body

$schemastring uri

A URL to the JSON Schema for this object.

refresh_tokenstring required

The refresh token for the session to delegate to the device.

user_codestring required

The user code to claim.

Example request

{
  "$schema": "https://api.tower.dev/v1/schemas/ClaimDeviceLoginTicketParams.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

claimedboolean required

Whether the code was successfully claimed.

Example response

{
  "$schema": "https://api.tower.dev/v1/schemas/ClaimDeviceLoginTicketResponse.json"
}