POST /api/v1/admin/license/activate
Validate and activate a Fluxmail license key. Requires admin.license.
Validate and activate a Fluxmail license key. Requires admin.license.
Authentication
Pass an administrator member session or an API key as a bearer token. The key must belong to an administrator and include the capability listed above.
Remote administrative requests require HTTPS. Requests from the local computer can use HTTP.
Request
curl 'http://localhost:8977/api/v1/admin/license/activate' \
-X POST \
-H "Authorization: Bearer $FLUXMAIL_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"licenseKey": "string"
}'Request body
Content type: application/json
{
"type": "object",
"properties": {
"licenseKey": {
"type": "string",
"maxLength": 200
}
},
"required": [
"licenseKey"
],
"additionalProperties": false
}Responses
| Status | Description | Content type |
|---|---|---|
200 | Validated activation | application/json |
202 | Saved for retry after an outage | application/json |
400 | Invalid request | application/json |
401 | Authentication required | application/json |
403 | Administrative access denied | application/json |
404 | Resource not found | application/json |
409 | Request conflict | application/json |
413 | Request body too large | application/json |
415 | Unsupported media type | application/json |
500 | Internal error | application/json |
502 | License could not be verified | application/json |
200 response
{
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": {
"nullable": true
}
}
},
"required": [
"data"
],
"additionalProperties": false
}202 response
{
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": {
"nullable": true
}
}
},
"required": [
"data"
],
"additionalProperties": false
}Last updated