Skip to main content
PATCH
Manually update a registration's status
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

PATCH /cwr/registrations//status Description: Manually overrides a WorkRegistration row’s status (bypasses the ACK-file flow). Stamps metadata.manualUpdate: true and metadata.lastUpdated alongside the new statusDate. Authorization:
  • Required role: admin or higher
Method: PATCH

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

registrationId
string<uuid>
required

Body

application/json
status
enum<string>
required
Available options:
pending,
submitted,
registered,
rejected,
conflict,
cancelled
notes
string | null

Replaces the existing notes if provided; otherwise the existing value is kept.

Response

Registration updated

message
string
Example:

"Registration status updated to registered"

registration
object