User Registration
ARGO Messaging Service supports calls for registering users
[POST] Manage Registrations - New user registration
This request creates a new registration for a future user
Request
POST "/v1/registrations
Post body:
{
"name": "new-register-user",
"first_name": "first-name",
"last_name": "last-name",
"email": "test@example.com",
"organization": "org1",
"description": "desc1"
}
Example request
curl -X POST -H "Content-Type: application/json"
"https://{URL}/v1/registrations
Responses
If successful, the response contains the newly registered user
Success Response
200 OK
{
"uuid": "99bfd746-4ebe-11p0-9c2d-fa7ae01bbebc",
"name": "new-register-user",
"first_name": "first-name",
"last_name": "last-name",
"organization": "org1",
"description": "desc1",
"email": "test@example.com",
"activation_token": "a-token",
"status": "pending",
"registered_at": "2009-11-10T23:00:00Z",
"modified_at": "2009-11-10T23:00:00Z",
"modified_by": "UserA"
}
Errors
Please refer to section Errors to see all possible Errors
[POST] Manage Registrations - Accept a User's Registration
This request accepts a user's registration and as a result it creates a new user with the provided information.
Request
POST "/v1/registrations/{uuid}:accept"