---
title: "Update a Swiftness account"
method: PATCH
path: "/swiftness/accounts/{accountId}"
tags: ["Swiftness"]
---

# Update a Swiftness account

`PATCH /swiftness/accounts/{accountId}`

## Request

- Base URL: `https://api.surense.com/api/v1`
- URL: `https://api.surense.com/api/v1/swiftness/accounts/{accountId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.surense.com/oauth/token`

Updates the default customer manager and the authorized agencies of a Swiftness account. Only the fields present in the request are changed.

## Path parameters

- `accountId` string, uuid, required

## Request body

- UpdateSwiftnessAccountRequest
  - `defaultCustomerManagerId` JsonNullableUUID
    - `present` boolean
    - `undefined` boolean
  - `authorizedAgencies` JsonNullableSetUUID
    - `present` boolean
    - `undefined` boolean

## Response `200`

OK

- SwiftnessAccountValue
  - `tenantId` string, uuid
  - `agencyId` string, uuid
  - `createdDate` string, date-time
  - `createdBy` string, uuid
  - `creatorName` string
  - `lastModifiedDate` string, date-time
  - `lastModifiedBy` string, uuid
  - `version` integer
  - `id` string, uuid
  - `licenseeId` string, uuid
  - `accountIdType` 'עמ' | 'חפ' | 'חצ'
  - `accountIdNumber` string
  - `accountName` string
  - `licenseType` 'יועץ_פנסיוני' | 'סוכן_ביטוח_פנסיוני' | 'סוכן_שיווק_פנסיוני'
  - `submitterName` string
  - `submitterIdNumber` string
  - `submitterEmail` string
  - `submitDate` string, date-time
  - `defaultCustomerManagerId` string, uuid
  - `status` 'ממתין_לאישור' | 'פעיל' | 'נעול' | 'מבוטל'
  - `deletable` boolean
  - `activable` boolean
  - `deactivable` boolean
  - `defaultAccount` boolean
  - `authMode` 'לשימוש_לכלל_המשתמשים' | 'משתמשים_מורשים_בלבד'
  - `authUserAuthorization` SwiftnessAccountAuthorization
    - `visible` boolean
    - `writeProductions` boolean
    - `readProductions` boolean
    - `submitE9100` boolean
    - `readE9100` boolean
    - `userId` string, uuid
  - `authorizedAgencies` SwiftnessAccountAuthorizedAgency[]
    - `id` string, uuid
    - `agencyId` string, uuid
    - `createdBy` string, uuid
    - `createdAt` string, date-time
  - `advancedDispatchMode` boolean

---

[API](https://skmtc.dev/surense/apis/swiftness-api.md) - [All operations](https://skmtc.dev/surense/apis/swiftness-api/llms.txt) - [OpenAPI document](https://skmtc.dev/surense/apis/swiftness-api/revisions/a88d5ac82502?raw)
