Change a person on a client
curl --request PATCH \
--url https://advisor.redbark.com/api/v1/clients/{client}/people/{person} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "<string>",
"phone": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', email: '<string>', phone: '<string>'})
};
fetch('https://advisor.redbark.com/api/v1/clients/{client}/people/{person}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://advisor.redbark.com/api/v1/clients/{client}/people/{person}"
payload = {
"name": "<string>",
"email": "<string>",
"phone": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"object": "client",
"id": "<string>",
"name": "<string>",
"kind": "individual",
"status": "not_invited",
"advisor_name": "<string>",
"people": [
{
"id": "<string>",
"name": "<string>",
"role": "primary",
"email": "<string>",
"phone": "<string>",
"invited_at": "<string>",
"joined_at": "<string>"
}
],
"created_at": "<string>",
"invited_at": "<string>",
"joined_at": "<string>",
"archived_at": "<string>",
"last_activity_at": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}Clients
Change a person on a client
Changes a person’s name, email, phone or role. Null clears the email or phone. Role primary makes them the primary person, and whoever was primary becomes partner (in a couple) or other; the primary person cannot be given another role directly. A dependant cannot have an email, so clear it in the same call. Someone who has joined the portal keeps their email and cannot become a dependant. Changing an email stops any invite link already sent to the person. Returns the client.
PATCH
/
clients
/
{client}
/
people
/
{person}
Change a person on a client
curl --request PATCH \
--url https://advisor.redbark.com/api/v1/clients/{client}/people/{person} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "<string>",
"phone": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', email: '<string>', phone: '<string>'})
};
fetch('https://advisor.redbark.com/api/v1/clients/{client}/people/{person}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://advisor.redbark.com/api/v1/clients/{client}/people/{person}"
payload = {
"name": "<string>",
"email": "<string>",
"phone": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"object": "client",
"id": "<string>",
"name": "<string>",
"kind": "individual",
"status": "not_invited",
"advisor_name": "<string>",
"people": [
{
"id": "<string>",
"name": "<string>",
"role": "primary",
"email": "<string>",
"phone": "<string>",
"invited_at": "<string>",
"joined_at": "<string>"
}
],
"created_at": "<string>",
"invited_at": "<string>",
"joined_at": "<string>",
"archived_at": "<string>",
"last_activity_at": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}Authorizations
Path Parameters
Body
application/json
Response
Success.

