Activate a licence key on a machine
POST
/v1/activations
const url = 'https://api.sealcord.com/v1/activations';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"licence_key":"example","machine_id":"example","label":"example","os":"example","app_version":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.sealcord.com/v1/activations \ --header 'Content-Type: application/json' \ --data '{ "licence_key": "example", "machine_id": "example", "label": "example", "os": "example", "app_version": "example" }'201 when a seat was taken, 200 when this machine already held one. Returns a signed verdict.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
licence_key
required
string
machine_id
required
string
label
required
string
os
required
string
app_version
required
string
Examplegenerated
{ "licence_key": "example", "machine_id": "example", "label": "example", "os": "example", "app_version": "example"}