People
Update a persona
Updates the details of the specified persona.
patch/personas/{personaId}
Path parameters
personaIdstring uuid required
The ID of the persona to work with.
Example:8e214819-5c83-429f-a976-eb127a0a8a88
Query parameters
accountIdstring required
The ID of the account to work with.
Example:F50091
Request body
Example request
{
"emailAddress": "Clint_Moore@gmail.com",
"employeeNumber": "948947464",
"workNumber": "(807) 940-7411 x8855",
"jobTitle": "Human Division Manager",
"status": "active",
"transactionalEmailPreference": true,
"marketingEmailsPreference": true,
"securityNotificationsPreference": true,
"cardTransactionPushNotificationPreference": true
}Response
OK
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"accountId": "F50091",
"emailAddress": "Clint_Moore@gmail.com",
"employeeNumber": "948947464",
"workNumber": "(807) 940-7411 x8855",
"jobTitle": "Human Division Manager",
"status": "active",
"addresses": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "office",
"nickName": "office",
"addressLine1": "Great Building",
"addressLine2": "Four Maple Street",
"addressLine3": "Southwark",
"addressContact": "Brian May",
"city": "string",
"postcode": "SE13UB",
"country": "England",
"countryCode": "GB",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"createdBy": {},
"createdByPersonaId": "8e214819-5c83-429f-a976-eb127a0a8a88",
"primaryOwnerOf": {},
"teams": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"accountId": "F50091",
"name": "dolly@parton.com",
"description": "XYZ123",
"enabled": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"transactionalEmailPreference": true,
"cardTransactionPushNotificationPreference": true,
"inviteSentDate": "2018-12-01T14:54:30.000Z",
"marketingEmails": true,
"securityNotifications": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}