Skip to main content
PUT
Cancel all transactions locking for a module or all modules

Headers

Authorization
string
required

Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Body

application/json

The body is of type object.

Response

200 - application/json

The transactions locking has been successfully canceled.

isEnabled
boolean
required

Indicates whether transaction locking is enabled

Example:

true

isPartialUnlock
boolean
required

Indicates whether partial unlock is enabled

Example:

false

lockToDate
string<date-time>
required

The date until which transactions are locked

Example:

"2024-12-31"

unlockFromDate
string
required

The start date of the unlock period

Example:

"2025-01-01"

unlockToDate
string
required

The end date of the unlock period

Example:

"2025-01-31"

lockReason
string
required

The reason for locking transactions

Example:

"Year-end closing"

unlockReason
string
required

The reason for unlocking transactions

Example:

"New fiscal year"

partialUnlockReason
string
required

The reason for partial unlock of transactions

Example:

"Special adjustment period"