---
title: "Changes to Completes the invite by creating user/service and invalidating the invite code"
method: POST
path: "/v1/api/invites/{code}/complete"
---

# Changes to Completes the invite by creating user/service and invalidating the invite code

`POST /v1/api/invites/{code}/complete`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 10 of 53 revisions.

- **2026-03-09** `b6b66bb5eaad`: 1 info
- **2022-12-19** `6a7bd1eb62a7`: 1 warning
- **2022-12-15** `5163f2c9ccc3`: 1 warning, 1 info
- **2022-12-15** `566e66065caa`: 1 info
- **2022-11-21** `229276ff8ff8`: 1 info
- **2022-11-21** `3fe20c1da7ee`: 1 warning
- **2022-11-21** `1b5fc1d6d048`: 1 info
- **2022-11-14** `5861842b8167`: 2 breaking, 2 info
- **2022-11-14** `0be32a5f9bd8`: 1 info
- **2022-11-03** `3ab6566092e3`: 1 breaking

## Changes

- **2026-03-09** `b6b66bb5eaad`: 1 info
  - the request property `second_factor` became nullable
- **2022-12-19** `6a7bd1eb62a7`: 1 warning
  - removed the optional property `invite/type` from the response with the `200` status
- **2022-12-15** `5163f2c9ccc3`: 1 warning, 1 info
  - removed the optional property `invite/invite_to_join_service` from the response with the `200` status
  - added the optional property `invite/is_invite_to_join_service` to the response with the `200` status
- **2022-12-15** `566e66065caa`: 1 info
  - added the optional property `invite/invite_to_join_service` to the response with the `200` status
- **2022-11-21** `229276ff8ff8`: 1 info
  - added the optional property `invite/otp_key` to the response with the `200` status
- **2022-11-21** `3fe20c1da7ee`: 1 warning
  - removed the optional property `invite/otp_key` from the response with the `200` status
- **2022-11-21** `1b5fc1d6d048`: 1 info
  - added the optional property `invite/otp_key` to the response with the `200` status
- **2022-11-14** `5861842b8167`: 2 breaking, 2 info
  - removed the enum value `app` of the request property `second_factor`
  - removed the enum value `sms` of the request property `second_factor`
  - added the new `APP` enum value to the request property `second_factor`
  - added the new `SMS` enum value to the request property `second_factor`
- **2022-11-14** `0be32a5f9bd8`: 1 info
  - added optional request body
- **2022-11-03** `3ab6566092e3`: 1 breaking
  - removed the request body

---

[Operation](https://skmtc.dev/government-digital-service/apis/adminusers-api/docs/v1/api/invites/:code/complete/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/invites/:code/complete/post)
