Approve Registration
Profiles
Approve Registration
Approve a pending user registration (admin only)
POST
Approve Registration
Authentication
string
required
Bearer token:
Bearer <admin_token>This endpoint requires admin privileges.
Path Parameters
string
required
The user’s profile ID (UUID)
Example Request
Response
string
Success message
string
Generated client identifier for API access
string
Generated API secret (only shown once!)
Example Response
What Happens
- Credentials Generated - A unique
client_idandclient_secretare created - Secret Hashed - The secret is hashed with bcrypt before storage
- Status Updated - Profile status changes to
approved - Email Sent - Credentials are emailed to the user via Resend

