Update dependent information
dependents.update(strdependent_id, DependentUpdateParams**kwargs) -> Dependent
/v1/dependents/{dependent_id}
Updates an existing dependent's mutable information. Allows modification of relationship type and active status. Name, DOB, and sex cannot be modified after creation.
Parameters
dependent_id: str
active: Optional[bool]
Whether the dependent is active
gender: Optional[str]
Gender identity
Returns
Update dependent information
from vitable_connect_api import VitableConnectAPI
client = VitableConnectAPI(
api_key="My API Key",
)
dependent = client.dependents.update(
dependent_id="dpnd_abc123def456",
)
print(dependent.id)
{
"id": "id",
"active": true,
"created_at": "2019-12-27T18:11:19.117Z",
"date_of_birth": "2019-12-27",
"first_name": "first_name",
"last_name": "last_name",
"member_id": "member_id",
"relationship": "Spouse",
"sex": "Male",
"updated_at": "2019-12-27T18:11:19.117Z",
"gender": "gender",
"ssn_last_four": "ssn_last_four",
"suffix": "suffix"
}
Returns Examples
{
"id": "id",
"active": true,
"created_at": "2019-12-27T18:11:19.117Z",
"date_of_birth": "2019-12-27",
"first_name": "first_name",
"last_name": "last_name",
"member_id": "member_id",
"relationship": "Spouse",
"sex": "Male",
"updated_at": "2019-12-27T18:11:19.117Z",
"gender": "gender",
"ssn_last_four": "ssn_last_four",
"suffix": "suffix"
}