---
title: "Update Main Client callback urls"
method: POST
path: "/admin/api/v1/Client/callbackUrls"
tags: ["Main Clients"]
---

# Update Main Client callback urls

`POST /admin/api/v1/Client/callbackUrls`

Update information about Main Client Allowed Link URLs. Allowed Link URLs of Main Client will only be used for those Registered clients,
that don't have any Allowed Link URLs specified.

## Request body

- B2BPortalClientCallbackUrlsUpdateRequest
  - `callbackUrls` string[], required — Client Allowed Link URLs.

## Response `200`

Main Client callback urls added/updated

- ApiResult
  - `status` 'ok' | 'serverFailure' | 'permissionDenied' | 'badRequest' | 'notFound' | 'conflict' | 'tooManyRequest' | 'locked' | 'unavailableForLegalReasons'
  - `message` string, nullable — A message generated by the API
  - `displayMessage` string, nullable — User-friendly display message that can be presented to the end user
  - `errorHash` string, nullable — An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping
  - `teamCode` string, nullable — Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS. Format: 2-character code (e.g., "7K", "M2"). Use for alerting/routing, not display.
  - `errorType` string, nullable — Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation. All possible error types are available in the documentation.
  - `errorData` unknown

## Other responses

- `401` — Unauthorized: Auth token request is not valid
- `403` — Permission denied: Request is not allowed

---

[API](https://skmtc.dev/meshconnect/apis/admin-api.md) · [All operations](https://skmtc.dev/meshconnect/apis/admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/meshconnect/admin-api/revisions/9beb45cfe6f6/schema)
