Update an import key
Requires verified email; Requires one of the following permissions: Import.UpdateImportKey; Requires the following features to be enabled: Import
Path parameters
-
id
integer(int32) Required
application/json
PATCH
/Api/ImportKeys/{id}
cURL (application/json)
curl \
-X PATCH https://app.lovassy.hu/Api/ImportKeys/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","enabled":true}'
curl \
-X PATCH https://app.lovassy.hu/Api/ImportKeys/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: text/json"
curl \
-X PATCH https://app.lovassy.hu/Api/ImportKeys/{id} \
-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 (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}