# Add User Sectors **POST /users/{userName}/sectors** This API call is used to add user sector(s). ## Servers - Sandbox server URL: https://localhost:8080 (Sandbox server URL) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **userName** (string) Username of the user. ### Body: application/json (object) - **sectorIds** (array[integer]) The list of sector id(s). ## Responses ### 200 Successful Response ### 401 Authentication Error. Invalid credentials. #### Body: application/json (object) - **code** (string) - **message** (string) - **description** (string) ### 403 Authorization Error. Invalid role for request. [Powered by Bump.sh](https://bump.sh)