Assign contracts to a school user

Replaces current assignments for one or more contracts, or removes assignments when assigned_to_user_id is null.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
contract_idslist of integersRequired
assigned_to_user_idinteger or nullOptional

Response

Assignment result.
statusenum
messagestring
dataobject

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error