Register a whitelist entry

This is an API function to register a whitelist entry. This API function corresponds to the operation on the screen that is displayed by clicking the [Whitelist] tab after selecting the [License] on the operation screen of Manager.

= Remarks =

The response parameters of this API function are the same as those under the content layer of the acquire a list of whitelist entries API function.

Format

curl -X POST --header 'Content-Type: application/json'

--header 'Accept: application/json'

--header 'X-API-KEY:APIKEY'

-d 'REQUESTBODYINJSONFORMAT'

'http://HOSTNAME:PORTNUMBER/api/v1/activation-whitelist'

Request body (JSON format)

{

  "attribute": "string",

  "value": "string"

}

Request parameter (JSON format)
Item name Request parameter Type Value Default value
Type attribute String

"mac" or "MAC"

• mac or MAC: MAC address

"MAC"
Value value String Alphanumeric characters, semicolon (:), hyphen (-) Impossible to omit
Response

{

"activationWhitelistId": "string",

"attribute": "string",

"normalizedValue": "string",

"value": "string"

}

Response parameter
Item name Response parameter Type Value
Activation Whitelist ID activationWhitelistId String  
Type attribute String

"mac" or "MAC"

• mac or MAC: MAC address

Normalized MAC address normalizedValue String

MAC address of which the value is normalized is returned.

For example, "08-00-27-00-F4-83" is normalized to "08002700F483".

MAC address value String Example: 08-00-27-00-F4-83