Updates the contact info of the user with the specified id.

PUT

Updates the contact info of the user with the specified id.

Required Permissions: The user must be an admin or the creator or have user-master-data:write permissions.

Path parameters

userIdstringRequired
The id of the user.
contactInfoIdstringRequired
The id of the contact info.

Request

This endpoint expects an object.
labelstringOptional
The label of the contact info. Only necessary if type 'custom' is used.
valuestringOptional
The value of the contact info.
typestringOptional
The type of the contact info. Possible values are: phone, email, address, messenger, social, urls.
subTypestringOptional
The subtype of the contact info, Possible values are: Phone: [ 'work', 'mobile', 'home', 'work Fax', 'fax', 'other' ] Email: [ 'work', 'private', 'other' ] address: [ 'work', 'home', 'other' ] Messenger: [ 'skype', 'whatsapp', 'other' ] social: [ 'facebook', 'twitter', 'xing', 'linkedIn', 'instagram', 'pinterest', 'other' ] urls: [ 'work', 'private', 'gitHub', 'other' ].
addressLine1stringOptional
The first Address line of the address.
addressLine2stringOptional
The second address line of the contact info.
zipCodestringOptional
The Zipcode of the contact info.
citystringOptional
The city of the contact info.
statestringOptional
The state of the contact info.
countrystringOptional
The 2 letter iso code of the country.
isAddressbooleanOptional
Flags whether this contactinfo is an address or not. If its an address, the address fields are required.

Response

This endpoint returns an object
labelstringOptional
The label of the contact info. Only necessary if type 'custom' is used.
valuestringOptional
The value of the contact info.
typestringOptional
The type of the contact info. Possible values are: phone, email, address, messenger, social, urls.
subTypestringOptional
The subtype of the contact info, Possible values are: Phone: [ 'work', 'mobile', 'home', 'work Fax', 'fax', 'other' ] Email: [ 'work', 'private', 'other' ] address: [ 'work', 'home', 'other' ] Messenger: [ 'skype', 'whatsapp', 'other' ] social: [ 'facebook', 'twitter', 'xing', 'linkedIn', 'instagram', 'pinterest', 'other' ] urls: [ 'work', 'private', 'gitHub', 'other' ].
addressLine1stringOptional
The first Address line of the address.
addressLine2stringOptional
The second address line of the contact info.
zipCodestringOptional
The Zipcode of the contact info.
citystringOptional
The city of the contact info.
statestringOptional
The state of the contact info.
countrystringOptional
The 2 letter iso code of the country.
isAddressbooleanOptional
Flags whether this contactinfo is an address or not. If its an address, the address fields are required.
idstringOptional
The Id of the contact info.
isDeletedbooleanOptional
Whether the user has been deleted.
createdOndatetimeOptional
The creation date.
createdBystringOptional
The id of the user who created the entity.
updatedOndatetimeOptional
The date when the entity was updated.
updatedBystringOptional
the id of the user who updated the entity.