Create a new Passdock User.
curl -i -d 'user={"email":"matteo@passdock.com","password":"the_secure_password","password_confirmation":"the_secure_password","name":"Matteo Gavagnin"}' https://api.passdock.com/api/v1/registrations
{ "api_token": "0161851792e6fe45816488bbfc709c50", "email": "matteo@passdock.com", "success": true }
Param name | Description |
---|---|
user required |
The JSON containing the user informations. Value: Must be a Hash |
user[name] required |
Complete User name Value: Must be String |
user[email] required |
Email used for every login Value: Must be String |
user[password] required |
Desired password Value: Must be String |
user[password_confirmation] required |
Confirmation of desired password Value: Must be String |