Fluxmail

Activate a license

Validate and activate a Fluxmail license key. Requires admin.license.

POST /api/v1/admin/license/activate

Validate and activate a Fluxmail license key. Requires admin.license.

Authentication

Pass a Fluxmail API key as a bearer token. The key owner must be an administrator, and the key must include the administrative capability named in the endpoint description.

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

StatusDescriptionContent type
200Validated activationapplication/json
202Saved for retry after an outageapplication/json
400Invalid requestapplication/json
401Authentication requiredapplication/json
403Administrative access deniedapplication/json
404Resource not foundapplication/json
409Request conflictapplication/json
413Request body too largeapplication/json
415Unsupported media typeapplication/json
500Internal errorapplication/json
502License could not be verifiedapplication/json

200 response

{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "additionalProperties": {}
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}

202 response

{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "additionalProperties": {}
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}

Last updated