API Reference

Get User Data

GET
/users/{user_id}

Retrieve details for a specific user.

Example Response (JSON)
{ "id": 123, "name": "John Doe", "email": "john.doe@example.com" }
200 OK

Create New User

POST
/users

Creates a new user account.

Example Response (JSON)
{ "id": 456, "name": "Jane Smith", "email": "jane.smith@example.com" }
201 Created

Update User

PUT
/users/{user_id}

Updates existing user data.

Example Response (JSON)
{ "id": 123, "name": "John Doe Updated", "email": "john.doe@example.com" }
200 OK

Delete User

DELETE
/users/{user_id}

Deletes a user account.

Example Response (JSON)
204 No Content