# UPDATE USER

Update a new user.

Endpoint: PUT /api/v1/users/{id}
Version: v1

## Path parameters:

  - `id` (string, required)
    The User's unique identifier

## Request fields (application/json):

  - `registration_authority` (string, required)
    The registration authority id

  - `permission_profile` (string)
    The permission profile id that will be associated to this user

  - `request` (string)
    The request id

  - `rao` (string)
    The RAO id

## Response 200 fields (application/json):

  - `pk` (number)
    The user id

  - `permission_profile` (string)
    The user permission profile id

  - `registration_authority` (string)
    The user associated registration authority id

  - `request` (string)
    The user associated request id

## Response 400 fields (application/json):

  - `detail` (string)
    JSON parse error message

## Response 500 fields (application/json):

  - `code` (string)
    The response status code

  - `id` (string)
    The response status id

  - `error` (string)
    The response status message


