Skip to content

AccountReset ​

Beta

Salaxy API v04 is in beta: it may change, and it is not used in production yet. Build on v03, the current version.

Controller for resetting account data for testing purposes.

Salaxy API v04 (beta), Finland only. 13 operations. Interactive version: REST API reference. Machine-readable: OpenAPI document.

The reference wins

These pages are generated from the OpenAPI document. If a guide and this reference disagree about a field, follow the reference. Error responses are not in the document — see Errors.

DELETE /v04/api/accounts/calculation/all ​

Remove all calculations, payrolls and payments from the account.

Response: string

Try it: interactive reference

DELETE /v04/api/accounts/invoice ​

Remove invoices with business objects

ParameterInTypeRequiredDescription
idsquerystring[]

Response: string

Try it: interactive reference

DELETE /v04/api/accounts/worker/all ​

Remove all workers from the account, including calculations, employment contracts and tax cards.

Response: string

Try it: interactive reference

DELETE /v04/api/accounts/holidays/all ​

Remove all holiday years as well absences from all workers. Does not touch the default values of holidays in Worker Employment relation.

Response: string

Try it: interactive reference

DELETE /v04/api/accounts/authorizingAccount/all ​

Delete all empty accounts (company or worker) created by this account.

Response: string

Try it: interactive reference

DELETE /v04/api/accounts/data/all ​

Remove all calculations, workers etc. user objects except products and signature from the account.

Response: string

Try it: interactive reference

DELETE /v04/api/accounts/product/pensionAndInsurance ​

Remove pension and insurance from the account.

Response: string

Try it: interactive reference

DELETE /v04/api/accounts/product/all ​

Remove all products from the account.

Response: string

Try it: interactive reference

DELETE /v04/api/accounts/signature ​

Remove the signature from the account.

Response: string

Try it: interactive reference

DELETE /v04/api/accounts/current ​

Delete the account completely including credentials and Auth0 user.

Response: string

Try it: interactive reference

POST /v04/api/accounts/sso-demo/create-certificate ​

For the purposes of Single Sign-On Demo, creates a certificate.

Request body: AssertionDemoCertificateRequest (required)

Response: AssertionDemoCertificateResponse

Try it: interactive reference

DELETE /v04/api/accounts/kyc ​

Removes the kyc.

Response: string

Try it: interactive reference

POST /v04/api/accounts/kyc ​

Removes the kyc.

Response: AccountBase

Try it: interactive reference

Every page is also available as Markdown: add .md to its URL — a folder page such as white-label/ is white-label/index.md. Index for LLMs: llms.txt. Questions: Support.