---
title: "Update sector user authorities"
method: POST
path: "/v1.0/sector-authorities/sector-association/{sectorId}"
tags: ["Sector Association authorities"]
---

# Update sector user authorities

`POST /v1.0/sector-authorities/sector-association/{sectorId}`

## Path parameters

- `sectorId` integer, required

## Request body

- SectorUserAuthorityUpdateWrapperDTO — The sector user authority to update
  - `sectorUserAuthorityUpdateDTOList` SectorUserAuthorityUpdateDTO[], required
    - `userId` string, required
    - `roleCode` string
    - `authorityStatus` 'PENDING' | 'TEMP_DISABLED_PENDING' | 'ACTIVE' | 'DISABLED' | 'ACCEPTED' | 'TEMP_DISABLED', required

## Response `204`

No Content

## Other responses

- `400` — Bad Request Error Code | Description ROLE1000 | Invalid operator role code AUTHORITY1001 | At least one operator admin should exist in account AUTHORITY1004 | User is not related to account AUTHORITY1008 | Authority status in not valid AUTHORITY1012 | User role can not be modified ACCOUNT_CONTACT1001 | You must have a primary contact on your account ACCOUNT_CONTACT1002 | You must have a financial contact on your account ACCOUNT_CONTACT1003 | You must have a service contact on your account ACCOUNT_CONTACT1004 | You cannot assign the same user as a primary and secondary contact on your account ACCOUNT_CONTACT1005 | You cannot assign an Emitter Contact as primary contact on your account ACCOUNT_CONTACT1006 | You cannot assign an Emitter Contact as secondary contact on your account
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/beis/apis/api-documentation.md) · [All operations](https://skmtc.net/beis/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beis/api-documentation/versions/f5f4d893b86b/schema)
