Users Endpoint
The Users endpoint allows you to manage user accounts and retrieve user profile information within the Clipron AI platform.Get Current User Profile
Retrieve the profile information of the authenticated user.Request
GET /api/v1/users/me
Headers
Authorization: Bearer YOUR_JWT_TOKEN
Response
200 OK
Errors
401 Unauthorized: If no valid authentication token is provided.403 Forbidden: If the token is valid but does not have access to this resource.
Update User Profile
Update the profile information of the authenticated user.Request
PUT /api/v1/users/me
Headers
Authorization: Bearer YOUR_JWT_TOKENContent-Type: application/json
Body
Response
200 OK
Errors
400 Bad Request: If the request body contains invalid data.401 Unauthorized: If no valid authentication token is provided.403 Forbidden: If the token is valid but does not have access to this resource.
Delete User Account
Delete the authenticated user’s account. This action is irreversible.Request
DELETE /api/v1/users/me
Headers
Authorization: Bearer YOUR_JWT_TOKEN
Response
204 No Content
Errors
401 Unauthorized: If no valid authentication token is provided.403 Forbidden: If the token is valid but does not have access to this resource.