Update a User
PUT/users/:id
API v1 will be deprecated on January 31, 2026.
API v2 will be deprecated on February 28, 2026.
Please migrate to API v3 as soon as possible.
The "Update a User" section allows users to modify the details of a specific user within the Agility Credit system. By providing new information such as first name, last name, email, and phone number, users can easily update user profiles. This section enables seamless management of user data for improved accuracy and relevance within the platform.
Request
Path Parameters
ID of the user to be updated
Header Parameters
The tenant ID provided by Agility Credit.
The requestor user ID.
A unique, idempotent key. We recommend to use a guid
- application/json
Body
required
Inquiry request payload
Responses
- 200
- 400
- 401
- 429
- 500
User updated successfully
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier for the user.
The timestamp when the user was created.
The email address of the user.
The first name of the user.
The last name of the user.
The phone number of the user.
The timestamp when the user was last updated.
{
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"email": "user@example.com",
"first_name": "string",
"last_name": "string",
"phone": "string",
"updated_at": "2024-07-29T15:51:28.071Z"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
{
"status": "Bad Request - Invalid Parameters",
"error": "Failed schema validation. Error: data.pull_type must be one of ['prequal', 'hard'], Path: ['data', 'pull_type'], Data: prequalification"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "Unauthorized"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Too Many Requests"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "Agility Server Error"
}