---
title: "Licenses:Update"
method: PATCH
path: "/licenses/{licenseCode}"
tags: ["Licenses"]
---

# Licenses:Update

`PATCH /licenses/{licenseCode}`

Updates a license under a merchant. You can indicate if the license is authorized to sign or an UBO and you can indicate which rights the account should have. You need to have access to that merchant to update the license. You need to authenticate with an AT-code as username and a token as password.

## Path parameters

- `licenseCode` Code, required — unresolved $ref

## Request body

- object
  - `name` string
  - `language` string
  - `notificationGroup` object
    - `technical` boolean
    - `financial` boolean
    - `operations` boolean
  - `platform` object
    - `loginAccount` boolean
    - `loginTpa` boolean
    - `authorisation` 'all' | 'specified'
    - `authorisationGroups` string[]
  - `complianceData` object
    - `pep` Pep — unresolved $ref
    - `pepDescription` PepDescription — unresolved $ref
    - `authorizedToSign` AuthorizedToSign — unresolved $ref
    - `dateOfBirth` DateOfBirth — unresolved $ref
    - `nationality` Nationality — unresolved $ref
    - `ubo` Ubo — unresolved $ref
    - `uboPercentage` UboPercentage — unresolved $ref
    - `relationshipDescription` RelationshipDescription — unresolved $ref
  - `roles` object
    - `primaryContactPerson` boolean
    - `internalAdministrator` boolean

## Response `200`

Ok.

- 1 — unresolved $ref

## Other responses

- `400` — Bad request, see response body for more information
- `401` — Unauthorized. Supplied credentials are invalid
- `403` — Forbidden. Supplied credentials have no rights
- `404` — Resource not found
- `405` — Used HTTP method is not allowed
- `406` — Not acceptable. The supplied content type in the accept parameter in the header is not supported
- `415` — Unsupported media. The supplied content type in the content-type parameter in the header is not supported
- `429` — Rate limit reached.
- `500` — An internal error occurred

---

[API](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api.md) · [All operations](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pay/pay-transaction-gateway-unit-api/revisions/2bc260c7bdfc/schema)
