1. Users
LeadsyGroup
  • API V1
    • Users
      • Remove a user avatar
        DELETE
      • Upload a user avatar
        PUT
      • Create a user
        POST
      • Validate JWT
        GET
      • Find a user by email
        GET
      • Show all users
        GET
      • Login into the application
        POST
      • Reset user password
        POST
      • Show a user
        GET
      • Update a user
        PUT
    • Stages
      • List stages
    • Companies
      • Remove a company avatar
      • Upload a company avatar
      • Create company
      • List companies
      • Get an specific company
    • User Onboarding
      • Mark as completed the onboarding
      • Approve T&C
    • User Company Relation
      • Create user_accesses for a user
      • Show user_accesses for a user
      • Remove an specific user_access
      • Update user_accesses for a user
    • Accesses
      • List all available accesses
      • List access by id
    • Memberships
      • List available memberships
      • Info of a membership
    • Legal Terms
      • Current available for signature
      • Get legal terms per id
    • Invitations
      • Get all pending invitations for a company
      • Get invitation by code (no auth required)
      • Creates user invitation
      • Delete an invitation
      • Get pending invitations by email
    • Import
      • Import leads for a company
      • Download leads import template for a company
      • List of ImportFiles
      • Check status of an import
    • Campaigns
      • List campaigns for a company
      • Get campaign by id
    • Questions
      • Bulk update question options for a campaign
      • List questions for a campaign
      • Get question for ID
      • Create a question for company
      • List questions for a company
      • Delete a question for company
      • Modify questions priority order for a company
    • Cycles
      • Modify cycles flag in company
      • Create a cycle for company
    • Membership
      • Attach membership to company
      • Cancel current subscription
    • Company Users
      • Get users from an specific company
    • Leads
      • Create a lead for a company
      • List company leads
      • List duplicate company leads
      • List unassigned company leads
      • List lead metrics by stage
      • Get lead by id
      • Update a lead
    • Lead Notes
      • Create a note for a lead
      • Delete a note from a lead
    • User Providers
      • Show providers for a user
    • Sources
      • Create a source for a company
      • List sources for a company
      • Delete a source for company
      • Modify sources priority order for a company
      • Assign a user access to a source
      • Remove a user access from a source
    • Appointments
      • List appointments for the current user
      • Get appointment by id
    • Territories
      • Create territories for a company
      • List territories for a company
  1. Users

Update a user

PUT
/api/v1/users/{id}

Request

Path Params

Header Params

Body Params application/jsonRequired

Responses

🟢200
application/json
User updated successfully
Bodyapplication/json

🟠401
🟠403
🟠404
🟠422
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/v1/users/' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data '{
    "first_name": "string",
    "last_name": "string",
    "birthdate": "string",
    "theme": "string",
    "lang": "string",
    "password": "string",
    "currency": "string",
    "phone_number": "string"
}'
Response Response Example
200 - Example 1
{
    "user": {
        "id": 0,
        "first_name": "string",
        "last_name": "string",
        "email": "user@example.com",
        "status": "string",
        "full_name": "string",
        "avatar_route": "string",
        "primary_access": {
            "id": 0,
            "company_id": 0,
            "access_id": 0,
            "access_name": "string"
        },
        "primary_company": {
            "id": 0,
            "name": "string",
            "default": true,
            "parent_company_id": 0
        }
    }
}
Modified at 2026-03-23 15:30:28
Previous
Show a user
Next
List stages
Built with