---
title: "Changes to POST /api/device-codes"
method: POST
path: "/api/device-codes"
---

# Changes to POST /api/device-codes

`POST /api/device-codes`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 21 revisions.

- **2023-03-10** `ea159bb388e0`: 15 info
- **2023-03-10** `4650ad92794e`: 1 breaking, 1 info

## Changes

- **2023-03-10** `ea159bb388e0`: 15 info
  - the response property `deviceCode` became required for the status `200` (media type: text/plain)
  - the response property `deviceCode` became required for the status `200` (media type: application/json)
  - the response property `deviceCode` became required for the status `200` (media type: text/json)
  - the response property `expiresIn` became required for the status `200` (media type: text/plain)
  - the response property `expiresIn` became required for the status `200` (media type: application/json)
  - the response property `expiresIn` became required for the status `200` (media type: text/json)
  - the response property `interval` became required for the status `200` (media type: text/plain)
  - the response property `interval` became required for the status `200` (media type: application/json)
  - the response property `interval` became required for the status `200` (media type: text/json)
  - the response property `userCode` became required for the status `200` (media type: text/plain)
  - the response property `userCode` became required for the status `200` (media type: application/json)
  - the response property `userCode` became required for the status `200` (media type: text/json)
  - the response property `verificationUrl` became required for the status `200` (media type: text/plain)
  - the response property `verificationUrl` became required for the status `200` (media type: application/json)
  - the response property `verificationUrl` became required for the status `200` (media type: text/json)
- **2023-03-10** `4650ad92794e`: 1 breaking, 1 info
  - request body became required
  - added the new optional `header` request parameter `Api-Version`

---

[Operation](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/docs/api/device-codes/post.md) - [API](https://skmtc.dev/fermyon/apis/fermyon-cloud-api.md) - [Page](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/device-codes/post)
