Openminds Sock API
Create Account
Creates a new account on a target virtual server. Please refer to the Virtual Server List API endpoint to see your available servers.
URL
/accounts
Method
POST
Data parameters
Required
user_token=[string]
client_token=[string]
virtual_server_id=[integer]
name=[string]
Optional
ssh_key_ids=[Array]
Sample usage
Basic
After you have established that the Virtual Server with id 2 is among your available servers, you can use the following call to create an account on it.
$ curl -X POST https://sock.openminds.be/api/v1/accounts -d user_token=1234 -d client_token=5678 \
-d name=exampleaccount \
-d virtual_server_id=2