---
title: "Changes to Activate a new OTP key and method for a user"
method: POST
path: "/v1/api/users/{userExternalId}/second-factor/activate"
---

# Changes to Activate a new OTP key and method for a user

`POST /v1/api/users/{userExternalId}/second-factor/activate`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 12 of 53 revisions.

- **2026-08-03** `17f1bf916172` — 1 breaking
- **2026-07-21** `1f9978f5e174` — 1 info
- **2026-06-15** `7c2ffa5bfb93` — 2 warning
- **2024-09-12** `3f6a3bbb9219` — 6 warning
- **2023-11-09** `de931ca0f448` — 1 info
- **2023-08-03** `21cc40786778` — 1 warning
- **2023-04-06** `af19ae9aaf45` — 6 info
- **2022-11-21** `e138c649db69` — 1 warning
- **2022-11-21** `c07ac6503216` — 1 info
- **2022-11-18** `3fe20c1da7ee` — 1 warning
- **2022-11-16** `e37356aab036` — 1 info
- **2022-11-14** `5861842b8167` — 2 warning, 2 info

## Changes

- **2026-08-03** `17f1bf916172` — 1 breaking
  - the `service_roles/items/service/service_features` response's property type/format changed from `array`/`` to `object`/`` for status `200`
- **2026-07-21** `1f9978f5e174` — 1 info
  - added the optional property `service_roles/items/service/service_features` to the response with the `200` status
- **2026-06-15** `7c2ffa5bfb93` — 2 warning
  - added the new `CHOSEN_PSP_ADYEN` enum value to the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
  - added the new `TERMS_AGREED_ADYEN` enum value to the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
- **2024-09-12** `3f6a3bbb9219` — 6 warning
  - added the new `admin` enum value to the `service_roles/items/role/name` response property for the response status `200`
  - added the new `super-admin` enum value to the `service_roles/items/role/name` response property for the response status `200`
  - added the new `view-and-initiate-moto` enum value to the `service_roles/items/role/name` response property for the response status `200`
  - added the new `view-and-refund` enum value to the `service_roles/items/role/name` response property for the response status `200`
  - added the new `view-only` enum value to the `service_roles/items/role/name` response property for the response status `200`
  - added the new `view-refund-and-initiate-moto` enum value to the `service_roles/items/role/name` response property for the response status `200`
- **2023-11-09** `de931ca0f448` — 1 info
  - added the optional property `service_roles/items/service/archived_date` to the response with the `200` status
- **2023-08-03** `21cc40786778` — 1 warning
  - removed the optional property `username` from the response with the `200` status
- **2023-04-06** `af19ae9aaf45` — 6 info
  - removed the `CHOSEN_PSP_EPDQ` enum value from the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
  - removed the `CHOSEN_PSP_SMARTPAY` enum value from the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
  - removed the `CHOSEN_PSP_WORLDPAY` enum value from the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
  - removed the `TERMS_AGREED_EPDQ` enum value from the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
  - removed the `TERMS_AGREED_SMARTPAY` enum value from the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
  - removed the `TERMS_AGREED_WORLDPAY` enum value from the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
- **2022-11-21** `e138c649db69` — 1 warning
  - added the new `GOV_BANKING_MOTO_OPTION_COMPLETED` enum value to the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
- **2022-11-21** `c07ac6503216` — 1 info
  - removed the `CHOSEN_GOV_BANKING_MOTO` enum value from the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
- **2022-11-18** `3fe20c1da7ee` — 1 warning
  - added the new `CHOSEN_GOV_BANKING_MOTO` enum value to the `service_roles/items/service/current_go_live_stage` response property for the response status `200`
- **2022-11-16** `e37356aab036` — 1 info
  - added the optional property `service_roles/items/service/takes_payments_over_phone` to the response with the `200` status
- **2022-11-14** `5861842b8167` — 2 warning, 2 info
  - added the new `APP` enum value to the `second_factor` response property for the response status `200`
  - added the new `SMS` enum value to the `second_factor` response property for the response status `200`
  - removed the `app` enum value from the `second_factor` response property for the response status `200`
  - removed the `sms` enum value from the `second_factor` response property for the response status `200`

---

[Operation](https://skmtc.dev/government-digital-service/apis/adminusers-api/docs/v1/api/users/:userExternalId/second-factor/activate/post.md) · [API](https://skmtc.dev/government-digital-service/apis/adminusers-api.md) · [Page](https://skmtc.dev/government-digital-service/apis/adminusers-api/changes/v1/api/users/:userExternalId/second-factor/activate/post)
