Create a new import key
Requires verified email; Requires one of the following permissions: Import.CreateImportKey; Requires the following features to be enabled: Import
application/json
POST
/Api/ImportKeys
cURL (application/json)
curl \
-X POST https://app.lovassy.hu/Api/ImportKeys \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","enabled":true}'
curl \
-X POST https://app.lovassy.hu/Api/ImportKeys \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: text/json"
curl \
-X POST https://app.lovassy.hu/Api/ImportKeys \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/*+json"
Request example
{
"name": "string",
"enabled": true
}
Request examples
{
"name": "string",
"enabled": true
}
Request examples
{
"name": "string",
"enabled": true
}
Response examples (201)
{
"id": 42,
"name": "string",
"enabled": true,
"key": "string"
}
Response examples (400)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}