curl --request POST \
--url https://demo.komga.org/api/v2/users/me/api-keys \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": "<string>"
}
'{
"comment": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"id": "<string>",
"key": "<string>",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"userId": "<string>"
}curl --request POST \
--url https://demo.komga.org/api/v2/users/me/api-keys \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": "<string>"
}
'{
"comment": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"id": "<string>",
"key": "<string>",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"userId": "<string>"
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
1