Reacquire an API key

This is an API function to reacquire an API Key. This API function corresponds to the operation on the screen that is displayed by clicking the [API Key Management] tab after selecting the [Security] on the operation screen of Manager.

Format

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

--header 'Accept: application/json'

-d 'REQUESTBODYINJSONFORMAT'

'http://HOSTNAME:PORTNUMBER/api/v1/genkey'

Request body (JSON format)

{

"clientSecret" : "string"

}

Request parameter (JSON format)
Item name Request parameter Type Value Default value
Reissue Key clientSecret String Specify the Reissue Key that was acquired by using the Acquire an API Key API function or the API Key Management screen. Impossible to omit
Response

{

"apiKey": "string",

"clientSecret" : "string",

"expiresOn": 0

}

Response parameters
Item name Response parameter Type Value
API Key apiKey String The key that will be specified in the API request header is returned.
Reissue Key clientSecret String You can reissue an API key by using this key for the input of the Reacquire API Key API function without using a user name and a password.
Term of API Key expiresOn Integer

The epoch is returned by using a unit of milliseconds.

(The number of milliseconds that has accumulated since midnight of 1970/1/1)

Example: 1517107653277