Skip to main content
PATCH
JavaScript

Authorizations

X-API-KEY
string
header
required

Headers

Tenant-ID
string

The tenant identifier for multi-tenant organisations. Required when the organisation has multi-tenancy enabled. Pass your own internal customer ID for the tenant. Ignored for single-tenant organisations.

Path Parameters

systemId
string<uuid>
required

The UUID of the points system.

Body

application/json

Array of level patches. Each item must include an ID.

Required array length: 1 - 100 elements
id
string<uuid>
required

The UUID of the level to update.

Example:

"550e8400-e29b-41d4-a716-446655440000"

name
string

The updated level name.

points
integer

The updated threshold points value.

Required range: x >= 0
description
string

The updated level description.

badge
object | null

The updated badge, or null to clear it.

Response

Successful operation

Response containing updated levels and any issues encountered.

updated
AdminPointsLevel · object[]
required

Array of successfully updated levels.

issues
AdminIssue · object[]
required

Array of issues encountered during level updates.