---
title: "Update the info of a worker"
method: POST
path: "/public/onboarding/v1/update-worker"
tags: ["Onboarding flow"]
---

# Update the info of a worker

`POST /public/onboarding/v1/update-worker`

## Request

- Base URL: `https://api.maqqie.app`
- URL: `https://api.maqqie.app/public/onboarding/v1/update-worker`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://maqqie.app/auth/realms/maqqie/protocol/openid-connect/token`
- TypeScript: <https://skmtc.dev/maqqie/apis/maqqie-platform-public-api/docs/public/onboarding/v1/update-worker/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- WorkerUpdateRequestV1
  - `workerId` string, uuid
  - `address` AddressDetailsV1, required: Address details.
    - `street` string, required: The street name of the address.
    - `houseNumber` string, required: The house number of the address.
    - `houseNumberAddition` string: The addition to the house number (if any).
    - `zipCode` string, required: The postal code (ZIP) of the address.
    - `city` string, required: The city of the address.
    - `country` string, required: The country code in ISO 3166-1 alpha-2 format.
  - `mobileNumber` string: The mobile number of the worker.
  - `emailAddress` string, email
  - `iban` string, required

## Response `200`

Successfully updated a worker

## Other responses

- `400`: The request could not be processed. This could be due to a number of reasons: * The request does not have all required data. * Data in the request is invalid. * Data in the request is inconsistent. * The operation is not allowed given the current state of the data.
- `401`: The request did not contain credentials identifying the caller, or the provided credentials were invalid.
- `403`: The data that the request referred to is inaccessible to the caller.

---

[API](https://skmtc.dev/maqqie/apis/maqqie-platform-public-api.md) - [All operations](https://skmtc.dev/maqqie/apis/maqqie-platform-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maqqie/apis/maqqie-platform-public-api/revisions/5cb82e369b70?raw)
