Getting license key information
curl -u user:password
-X GET -H "Content-type: application/json"
https://api.simplyedit.io/0/keys/serious-competition-4910
Listing your keys
curl -u user:password
-X GET -H "Content-type: application/json"
https://api.simplyedit.io/0/keys/
Create a new key
curl -u user:password
-X POST -H "Content-type: application/json"
--data {see below}
https://api.simplyedit.io/0/keys/
Data
email=user@example.com&hosts[0]=example.com&hosts[1]=alternate.org&custom={}&type=license&target=small
Update an existing key
curl -u user:password
-X PUT -H "Content-type: application/json"
--data {see below}
https://api.simplyedit.io/keys/serious-competition-4910
Data
{
"email": "user@example.com",
"hosts": [
"example.com",
"alternate.org"
],
"custom": {}
}