Create a new API key.
Create new API key.
Requires authentication.
NOVA-KEY<token>
In: header
NOVA-SECRET<token>
In: header
name?string
read_only?boolean
expiration_time?string
Format
int64Response Body
application/json
application/json
curl -X POST "https://api.moonbase.vn/api-keys" \ -H "Content-Type: application/json" \ -d '{}'{
"api_key": {
"api_key": "string",
"api_secret": "string",
"name": "string",
"created_at": "string",
"expired_at": "string",
"is_read_only": true
}
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}