User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <AiDocumentAllowance> {
client.ai_document_allowance().await
}
organization_ai_allowance
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
tid: TenantId,
) -> kc_sdk::Result <AiDocumentAllowance> {
client.organization_ai_allowance(tid).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <Vec <IntegrationKey>> {
client.api_keys().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
name: String,
) -> kc_sdk::Result <IssuedIntegrationKey> {
client.issue_api_key(name).await
}
Errors and constraints
invalid_key_name
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Path parameters
Field
Type
Required
id
string · UUID
Required
Request body
No request body.
Successful response
200 · application/json
boolean
Call example
Rust SDK
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
id: IntegrationKeyId,
) -> kc_sdk::Result <bool> {
client.revoke_api_key(id).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Request body
No request body.
Successful response
200 · image/*
Call example
Rust SDK
let url = format!("{}/api/desktop/get/{}", client.base_url(), target);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Request body
Raw bytes; not JSON or multipart. Set Content-Type to match the file.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <Me> {
client.clear_avatar().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <BrowserLoginSummary> {
client.browser_logins().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Request body
Field
Type
Required
fingerprint
string
Required
request.json
{
"fingerprint": "example"
}
Successful response
204
The response has no body.
Call example
Rust SDK
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
fingerprint: &str,
) -> kc_sdk::Result <()> {
client.record_browser_login(fingerprint).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <ConfigSnapshot> {
client.shared_configuration().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
request: &ConfigImport,
) -> kc_sdk::Result <ConfigPreview> {
client.apply_configuration(request).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
request: &ConfigImport,
) -> kc_sdk::Result <ConfigPreview> {
client.preview_configuration(request).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
user_code: &str,
) -> kc_sdk::Result <DeviceLoginInfo> {
client.device_login_info(user_code).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <Vec <RegisteredDevice>> {
client.devices().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
cert: &[u8],
) -> kc_sdk::Result <EinvoiceSetup> {
client.register_account_local_einvoice_cert(cert).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <EinvoiceSetup> {
client.lock_account_einvoice_cert().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <EinvoiceSetup> {
client.remove_account_einvoice_cert().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
password: &str,
) -> kc_sdk::Result <EinvoiceSetup> {
client.unlock_account_einvoice_cert(password).await
}
Errors and constraints
certificate_lockedcertificate_missing
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <Vec <UjpCompanySettings>> {
client.einvoice_settings_overview().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <EinvoiceSetup> {
client.account_einvoice_setup().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
n: &SetEinvoiceSettings,
) -> kc_sdk::Result <EinvoiceSetup> {
client.set_account_einvoice_settings(n).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
name: &str,
) -> kc_sdk::Result <Me> {
client.set_profile_name(name).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <OfflinePermit> {
client.offline_permit().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
r: &PasskeyRegistration,
) -> kc_sdk::Result <RecoveryCodes> {
client.add_passkey(r).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <PasskeyCreationOptions> {
client.passkey_options().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
password: &str,
) -> kc_sdk::Result <RecoveryCodes> {
client.regenerate_recovery_codes(password).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <AccountSecurityInfo> {
client.account_security().await
}
security_summary
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <AccountSecurityInfo> {
client.security_summary().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
) -> kc_sdk::Result <TotpSetup> {
client.totp_begin().await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Request body
Field
Type
Required
password
string
Required
request.json
{
"password": "example"
}
Successful response
204
The response has no body.
Call example
Rust SDK
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
password: &str,
) -> kc_sdk::Result <()> {
client.totp_disable(password).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
use kc_sdk::{Client, Download, kc_types::*};
use chrono::NaiveDate;
async fn example(
client: &Client,
code: &str,
) -> kc_sdk::Result <RecoveryCodes> {
client.totp_enable(code).await
}
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.