# Replace User Operational Structures **PUT /users/{userName}/operational-structures** This API is used to replace all Match operational structure(s) for the specified user. ## 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) - **operationalStructureIds** (array[integer]) The list of operational structure 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)