PUT

Update User

Updates an existing user.

Important

Calls to this method must include the cookie .LawPanel.AuthCookie in order to identify you at user level. For more details about authentication please check this link. To obtain the cookie you can use the method Login.

Request URL

Request headers

string

User authentication cookie. Read more about how to you get it from here.

string
Subscription key which provides access to this API.

Request body

Payload must contain information about the User to be updated.

  • string Required id: The user ID. To get details of an particular User please check this link.
  • string Required first_name: The first name of the user.
  • string Required last_name: The last name of the user.
  • string Required user_name: The username. You can't change this value.
  • string Required email: The email address for the user.
  • string Required password: We recommend you use a strong password for your security.
  • numeric Required phone_number: The phone number of the user.
  • string Required language_id: The language used by the user. To get a list of languages available please check this link.
  • string Required country_id: The country ID. To get a list of all countries available please check this link.

Loading...
                  {
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "first_name": {
      "type": "string"
    },
    "last_name": {
      "type": "string"
    },
    "user_name": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "password": {
      "type": "string"
    },
    "phone_number": {
      "type": "string"
    },
    "language_id": {
      "type": "string"
    },
    "country_id": {
      "type": "string"
    }
  },
  "example": {
    "id": "52d3a0c6-8157-4b0b-b485-ac5a00bef873",
    "first_name": "Sebastian",
    "last_name": "Guerrero",
    "user_name": "client_email@domain.com",
    "email": "client_email@domain.com",
    "password": "1234567",
    "phone_number": "387-155 333 953",
    "language_id": "8246c1d0-b008-4320-8b1d-a6720147de22",
    "country_id": "27cb8e50-0e8b-40cd-a656-a6720147e0a1"
  }
}
                  
              

Response 200

Return details about the delete operation.

Loading...
* See getting started for more information on how to use this API. You can also check the API change history.