PUT
/
users
/
{id}
Update a user by ID
curl --request PUT \
  --url https://api.tapti.ai/users/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "John Doe",
  "email": "john.doe@example.com",
  "phone": "1234567890"
}'
{
  "id": "690739f7-3e1b-4ceb-a439-23bd9c7ae573",
  "created_at": "2024-12-09T19:15:03.738Z",
  "updated_at": "2024-12-09T19:15:03.738Z",
  "name": "John Doe",
  "email": "john.doe@example.com",
  "phone": "1234567890",
  "tenant_app_id": "2bac016b-ad8f-4bf9-afb3-a63814bca95f",
  "accounts": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "user_platform": "YOUTUBE",
      "platform_account_id": "UC_12345678",
      "display_name": "John Doe"
    }
  ]
}
Update a user by ID.

Path Parameters

id
any
required

The ID of the user to update

Body

application/json

The user to update

The body is of type object.

Response

200
application/json

User updated successfully

The response is of type object.