# Updates a User **PATCH /v1/users/{email}** Updates the specified User. ## Servers - https://api.cloudcockpit.com: https://api.cloudcockpit.com () ## Authentication methods - Bearer auth ## Parameters ### Headers - **X-Tenant** (string) The domain used to access the portal. - **Authorization** (string) JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}" - **X-Correlation-Id** (string(uuid)) This header is optional and by setting it you can correlate the audit logs made by this request. ### Path parameters - **email** (string) The email of the csp user to update. ### Query parameters - **resellerId** (string(uuid)) The reseller id. ### Body: application/json (object) The user info to update the existent user. - **id** (string(uuid)) The id of the user. - **firstName** (string | null) The first name of the user. This may be up to 255 characters. - **lastName** (string | null) The last name of the user. This may be up to 255 characters. - **email** (string | null) The email. This may be up to 255 characters. - **role** (object) - **groups** (array[object] | null) The user groups. ## Responses ### 204 No Content ### 400 Bad Request #### Body: application/json (object) - **statusCode** (integer(int32)) The HTTP status code that represents a specific error scenario. - **type** (string | null) The type of error that occurred. - **description** (string | null) Describes the error scenario that occurred. - **correlationId** (string | null) The correlationId of the request that originated the error. - **errors** (array[object] | null) A list containing the detail of the errors that occurred in this error scenario. ### 401 Unauthorized ### 403 Forbidden ### 404 Not Found #### Body: application/json (object) - **statusCode** (integer(int32)) The HTTP status code that represents a specific error scenario. - **type** (string | null) The type of error that occurred. - **description** (string | null) Describes the error scenario that occurred. - **correlationId** (string | null) The correlationId of the request that originated the error. - **errors** (array[object] | null) A list containing the detail of the errors that occurred in this error scenario. ### 500 Internal Server Error #### Body: application/json (object) - **statusCode** (integer(int32)) The HTTP status code that represents a specific error scenario. - **type** (string | null) The type of error that occurred. - **description** (string | null) Describes the error scenario that occurred. - **correlationId** (string | null) The correlationId of the request that originated the error. - **errors** (array[object] | null) A list containing the detail of the errors that occurred in this error scenario. [Powered by Bump.sh](https://bump.sh)