Update API to accept list of codes
Description
Update the API to accept a list of codes or a single code when a user is added/updated.
Further details
Accept either list or single value for back-compatibility.
Task list
- Update the API
- Update the account-data-manager to pass these through
- Update the authentication check to check user entered code against list of codes available
Acceptance criteria
- Endpoint to create or update data in database accepts either a single code or a list of codes.
- account-data-manager uses this endpoint correctly