### Update Contact Details Endpoint
- Endpoint
- PUT: ~/manage-profile/contact-details
- Request Model
```
data class ContactDetailsRequest(
val contactDetailsType: DetailsType,
val contactType: ContactType,
val contactDetails: String,
val countryCode: String?,
val countryPhoneCode: String?
)
enum class DetailsType {
BUSINESS,
PERSONAL,
UNKNOWN
}
enum class ContactType {
EMAIL,
MOBILE,
TELEPHONE,
FAX, // This is not catered for on the designs so there's an assumption that the apps won't use it
UNKNOWN
}
```
- Response Type
- Void
- 204 Success - No content
- 400 Bad request
- 404 Not found
- 500 Downstream services are down
- Questions/Notes?
- How does a user delete a contact type that they no longer use like a work email? I'm assuming this will be a separate end-point.