PUT

Update Company User

Updates a Company 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
Subscription key which provides access to this API.

Request body

Payload must contain information about the Company User to be updated.

Most of the properties are self-explanatory, but these:

  • string Required id: You must use here the Company User ID, not the User ID.
  • string Required user.id: The User ID.
  • string Optional user.password: If you don't include a value for this property, the user's password will remain unchanged.
  • string Required client_id: The ID for the Company where the User belongs.To get details of different Companies available please check this link.
  • string Optional claims: An array of Claims IDs to be used with the user. To get details of different Claims available please check this link.

Loading...
                  {
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "client_id": {
      "type": "string"
    },
    "user": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "user_name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "password": {
          "type": "string"
        },
        "first_name": {
          "type": "string"
        },
        "last_name": {
          "type": "string"
        },
        "phone_number": {
          "type": "string"
        }
      }
    },
    "claims_id": {
      "type": "array"
    }
  },
  "example": {
    "id": "4d70a45d-a507-4ceb-94df-ac5a00bef87d",
    "client_id": "08053072-6b7a-4938-90d8-aad8012ad39e",
    "user": {
      "id": "52d3a0c6-8157-4b0b-b485-ac5a00bef873",
      "user_name": "chapeti+client_alsina_001@gmail.com",
      "email": "chapeti+client_alsina_001@gmail.com",
      "password": "********",
      "first_name": "Sebastian",
      "last_name": "Guerrero",
      "phone_number": "387-155 333 953"
    },
    "claims_id": []
  }
}
                  
              

Response 200

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