Update a registration phase

Updates the editable settings of an existing phase while preserving its academic-year ownership.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idintegerRequired
Registration phase identifier

Request

This endpoint expects an object.
namestringOptional<=255 characters
registration_opensdatetime or nullOptional
registration_closesdatetime or nullOptional
registration_activebooleanOptional
early_bird_endsdatetime or nullOptional
early_bird_discountdouble or nullOptional
early_bird_discount_typeenum or nullOptional
Allowed values:
full_payment_discountdouble or nullOptional
full_payment_discount_typeenum or nullOptional
Allowed values:
sort_orderintegerOptional>=0
scopeslist of objectsOptional

Response

Registration phase updated
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error