---
title: "Accept authority and set credentials to user"
method: PUT
path: "/v1.0/operator-users/registration/accept-authority-and-set-credentials-to-user"
tags: ["Operator users registration"]
---

# Accept authority and set credentials to user

`PUT /v1.0/operator-users/registration/accept-authority-and-set-credentials-to-user`

## Request body

- InvitedUserCredentialsDTO — The operator user credentials
  - `invitationToken` string, required
  - `password` string, required

## Response `204`

No Content

- OperatorUserDTO
  - `email` string, required
  - `firstName` string, required
  - `lastName` string, required
  - `phoneNumber` PhoneNumberDTO
    - `countryCode` string
    - `number` string
  - `mobileNumber` PhoneNumberDTO
    - `countryCode` string
    - `number` string
  - `lastLoginDate` string

## Other responses

- `400` — Bad Request Error Code | Description USER1003 | User is already registered with different role USER1004 | User status is not valid AUTHORITY1005 | User status cannot be updated AUTHORITY1016 | Authority already exists for a different role type than operator EMAIL1001 | The verification link has expired TOKEN1001 | Invalid Token FORM1001 | Form validation failed
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-06-08** `3dee1906f107` — 1 info
  - added the optional property `lastLoginDate` to the response with the `204` status
- **2025-11-18** `75eb25c6c016` — 3 warning
  - removed the optional property `security` from the response with the `400` status
  - removed the optional property `security` from the response with the `404` status
  - removed the optional property `security` from the response with the `500` status
- **2025-07-17** `ae162f3b8695` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/beis/apis/mets-api-documentation/changes/v1.0/operator-users/registration/accept-authority-and-set-credentials-to-user/put.md)

---

[API](https://skmtc.dev/beis/apis/mets-api-documentation.md) · [All operations](https://skmtc.dev/beis/apis/mets-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beis/mets-api-documentation/revisions/c3a5c6052f25/schema)
