Skip to main content
PUT
Update an approval section

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Unique identifier of the organization. String in UUID without dashes (32-character hex string) if access is done via values from Findity system otherwise, id of external system can be used

sectionId
string
required

UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$

Body

application/json

Request body for updating an existing approval section. Only the fields present in the body are updated.

type
enum<string>
required

Type of the approval section. Must match the existing section's type and is used to validate the request.

Available options:
DEPARTMENT,
DIMENSION
active
boolean

Whether the section is active. When omitted the current value is preserved.

sortOrder
integer<int32>

Zero-based position of the section within the organization's list of approval sections. Changing sortOrder reorders sibling sections accordingly. When omitted the current value is preserved.

Required range: x >= 0
sendToUnauthorizedApprovers
boolean

Whether expense reports should be sent to approvers who are not otherwise authorized on the section item. When omitted the current value is preserved.

numberOfRequiredApprovals
integer | null

Number of sequential approvals required for expense reports evaluated against this section. Must be at least 1 and cannot exceed the value set on the main approval setup. When null or omitted the current value is preserved.

Required range: 1 <= x <= 3

Response

Approval section successfully updated

A single approval section — either based on organizational units (DEPARTMENT) or on a custom dimension (DIMENSION).

id
string
required

Findity identifier of the approval section.

Pattern: ^[0-9a-fA-F]{32}$
active
boolean
required

Whether the section is active for approval routing.

type
enum<string>
required

Type of the approval section. DEPARTMENT — based on organizational unit structure; DIMENSION — based on a custom expense dimension.

Available options:
DEPARTMENT,
DIMENSION
sortOrder
integer<int32>
required

Zero-based position of the section within the organization's list of approval sections.

Required range: x >= 0
numberOfRequiredApprovals
integer | null

Number of sequential approvals required for expense reports evaluated against this section.

Required range: 1 <= x <= 3
sendToUnauthorizedApprovers
boolean

Whether expense reports are sent to approvers who are not otherwise authorized on the section item.

customDimensionDefinition
object | null

Custom dimension the section is bound to. Present only when type is DIMENSION.