/meYour account
Information about the account linked to the key, and the actions available to you in “capabilities”. Check it once before automating.
curl -H "Authorization: Bearer $VEX_KEY" \
https://my.vexcloud.fr/modules/addons/vexapi/api.php/v1/me{
"data": {
"client_id": 42,
"key_name": "Deploy server",
"currency": "EUR",
"credit": "120.00",
"capabilities": {
"reboot": true,
"reinstall": true,
"reinstall_choose_os": true,
"orders": true
}
}
}