post https://api.banking.netevia.dev/api/subProfiles/phone
The POST /api/subProfiles/phone endpoint allows for the update of a authorized user's phone number in the banking application. By providing the authorized user’s unique ID and the new phone number in the request body, this API ensures that contact information for the authorized user remains up to date, supporting secure and efficient communication.
Response:
Upon a successful update, the response will confirm that the phone number has been updated for the authorized user and return the updated profile details. If any errors occur during the process, the response will include an error message with details.
Security:
- Authentication and Authorization: Ensure that only authorized customers with appropriate access rights can modify authorized user phone numbers.
- Input Validation: The phone number must be validated for format and correctness.