Endpoints for managing user accounts including creating, updating, retrieving, and deleting user information.
Endpoints for managing user accounts including creating, updating, retrieving, and deleting user information.
/users
Register a new user in the Nebularis platform.
username
string
required
The desired username for the new user
email
string
required
The email address for the new user
password
string
required
The password for the new user
User created successfully
id
string
The unique identifier for the new user
username
string
The username of the new user
email
string
The email address of the new user
This response does not contain any headers
Invalid input
This response is empty
This response does not contain any headers
{ "username": "johndoe", "email": "johndoe@example.com", "password": "strongpassword123" }
User created successfully
{ "id": "user_123", "username": "johndoe", "email": "johndoe@example.com" }
/users/{id}
Retrieve details of a specific user.
id
string
required
The unique identifier of the user
User information retrieved successfully
id
string
The unique identifier for the user
username
string
The username of the user
email
string
The email address of the user
This response does not contain any headers
User not found
This response is empty
This response does not contain any headers
User information retrieved successfully
{ "id": "user_123", "username": "johndoe", "email": "johndoe@example.com" }
/users/{id}
Delete a user account.
id
string
required
The unique identifier of the user
User deleted successfully
This response is empty
This response does not contain any headers
User not found
This response is empty
This response does not contain any headers
/users/{id}
Update the details of a specific user.
username
string
required
The new username for the user
email
string
required
The new email address for the user
id
string
required
The unique identifier of the user
User information updated successfully
This response is empty
This response does not contain any headers
Invalid input
This response is empty
This response does not contain any headers
User not found
This response is empty
This response does not contain any headers
{ "username": "newusername", "email": "newemail@example.com" }