---
updatedAt: 2026-08-10T18:24:24.000Z
agentTools:
  projectIndex: https://api.atsanywhere.io/llms.txt
---

# Update User

Updates a single user account. Only provided fields are changed.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/users/{id}": {
      "patch": {
        "responses": {
          "200": {
            "description": "Updated the user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          },
          "403": {
            "description": "Not authorized"
          },
          "404": {
            "description": "Record not found.  Please check to make sure that the specified ID is valid."
          },
          "422": {
            "description": "Fields were invalid or missing.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "errors": {
                      "type": "object",
                      "properties": {
                        "field_name": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "example": "can't be blank"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal system error.  Please contact support in the event that this occurs."
          }
        },
        "summary": "Update User",
        "description": "Updates a single user account. Only provided fields are changed.",
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The user identifier.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/UserPayload"
        }
      }
    }
  },
  "info": {
    "version": "1.0.0",
    "title": "Applicant Tracking API",
    "description": "Applicant Tracking API"
  },
  "servers": [
    {
      "url": "https://api.applicant-tracking.com/api/v1"
    }
  ],
  "components": {
    "requestBodies": {
      "UserPayload": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UserPayload"
            }
          }
        },
        "required": true
      }
    },
    "schemas": {
      "User": {
        "properties": {
          "id": {
            "type": "string",
            "example": "111"
          },
          "company_id": {
            "type": "string",
            "example": "222"
          },
          "first_name": {
            "type": "string",
            "example": "Robert"
          },
          "last_name": {
            "type": "string",
            "example": "Jenkins"
          },
          "email": {
            "type": "string",
            "example": "robertjenkins@example.com"
          },
          "phone": {
            "type": "string",
            "example": "(555) 555-5555"
          },
          "admin_level": {
            "type": "string",
            "default": "AccountOwner"
          },
          "receive_notifications": {
            "type": "boolean",
            "example": true
          },
          "assigned_job_ids": {
            "type": "array",
            "example": [
              "1"
            ],
            "items": {}
          },
          "assigned_site_ids": {
            "type": "array",
            "example": [
              "1"
            ],
            "items": {}
          },
          "external_id": {
            "type": "string",
            "example": "123456789"
          },
          "last_login_at": {
            "type": "string",
            "example": "2018-07-11T09:16:48-08:00"
          },
          "time_zone": {
            "type": "string",
            "example": "America/Los_Angeles"
          },
          "mfa_enabled": {
            "type": "boolean",
            "example": false,
            "description": "Whether the user has two-factor authentication enabled."
          },
          "connected_calendars?": {
            "type": "boolean",
            "example": false,
            "description": "Whether the user has connected a scheduling calendar."
          },
          "created_at": {
            "type": "string",
            "example": "2018-05-22T08:24:48-08:00"
          },
          "updated_at": {
            "type": "string",
            "example": "2018-07-11T09:16:48-08:00"
          }
        }
      },
      "UserPayload": {
        "required": [
          "first_name",
          "last_name",
          "email"
        ],
        "properties": {
          "first_name": {
            "type": "string",
            "example": "Robert"
          },
          "last_name": {
            "type": "string",
            "example": "Jenkins"
          },
          "email": {
            "type": "string",
            "example": "robertjenkins@example.com"
          },
          "phone": {
            "type": "string",
            "example": "(555) 555-5555"
          },
          "admin_level": {
            "type": "string",
            "default": "AccountOwner"
          },
          "receive_notifications": {
            "type": "boolean",
            "default": true,
            "example": true
          },
          "assigned_job_ids": {
            "type": "array",
            "example": [
              "1"
            ],
            "items": {}
          },
          "assigned_site_ids": {
            "type": "array",
            "example": [
              "1"
            ],
            "items": {}
          },
          "external_id": {
            "type": "string",
            "example": "123456789"
          },
          "time_zone": {
            "type": "string",
            "example": "America/Los_Angeles"
          }
        }
      }
    }
  }
}
```