API Reference
- Authentication
- Carriers
- Components (Embeddable UI)
- Connections
- Dependents
- Employer Documents
- Employers
- Enrollments
- Group Connections
- Members
- Pay Rates
- Payroll Benefits
- Groups
- Plans
- Plan Configurations
- Subclasses
- Tasks
- Reports
Dependents
Update Dependent
Updates a dependent’s details.
PATCH
/
dependents
/
{public_id}
curl --request PATCH \
--url https://sandbox.withclasp.com/dependents/{public_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "<string>",
"last_name": "<string>",
"member": "<string>",
"member_relationship": "spouse",
"ssn": "<string>",
"dob": "2023-12-25",
"biological_sex": "male",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "AL",
"zip_code": "<string>"
}
}'
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"member": "<string>",
"member_relationship": "spouse",
"ssn_last_four": "<string>",
"dob": "2023-12-25",
"biological_sex": "male",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "AL",
"zip_code": "<string>"
},
"enrolled_plans": [
"<string>"
]
}
Authorizations
API Key authentication with required prefix "Bearer"
Path Parameters
Body
Response
200 - application/json
The response is of type object
.
curl --request PATCH \
--url https://sandbox.withclasp.com/dependents/{public_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "<string>",
"last_name": "<string>",
"member": "<string>",
"member_relationship": "spouse",
"ssn": "<string>",
"dob": "2023-12-25",
"biological_sex": "male",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "AL",
"zip_code": "<string>"
}
}'
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"member": "<string>",
"member_relationship": "spouse",
"ssn_last_four": "<string>",
"dob": "2023-12-25",
"biological_sex": "male",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "AL",
"zip_code": "<string>"
},
"enrolled_plans": [
"<string>"
]
}
Assistant
Responses are generated using AI and may contain mistakes.