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
Members
Update Member
Updates a member’s details.
PATCH
/
members
/
{public_id}
curl --request PATCH \
--url https://sandbox.withclasp.com/members/{public_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "<string>",
"last_name": "<string>",
"dob": "2023-12-25",
"ssn": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"employer": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "AL",
"zip_code": "<string>"
},
"hire_date": "2023-12-25",
"termination_date": "2023-12-25",
"payroll_provider_external_id": "<string>",
"biological_sex": "male",
"hours_worked": "<string>",
"pay_frequency": "weekly",
"subclasses": [
"<string>"
],
"job_title": "<string>"
}'
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"dob": "2023-12-25",
"ssn_last_four": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"employer": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "AL",
"zip_code": "<string>"
},
"enrollments": [
"<string>"
],
"hire_date": "2023-12-25",
"termination_date": "2023-12-25",
"payroll_provider_external_id": "<string>",
"biological_sex": "male",
"hours_worked": "<string>",
"pay_frequency": "weekly",
"employment_status": "full_time",
"subclasses": [
"<string>"
],
"job_title": "<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/members/{public_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "<string>",
"last_name": "<string>",
"dob": "2023-12-25",
"ssn": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"employer": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "AL",
"zip_code": "<string>"
},
"hire_date": "2023-12-25",
"termination_date": "2023-12-25",
"payroll_provider_external_id": "<string>",
"biological_sex": "male",
"hours_worked": "<string>",
"pay_frequency": "weekly",
"subclasses": [
"<string>"
],
"job_title": "<string>"
}'
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"dob": "2023-12-25",
"ssn_last_four": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"employer": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "AL",
"zip_code": "<string>"
},
"enrollments": [
"<string>"
],
"hire_date": "2023-12-25",
"termination_date": "2023-12-25",
"payroll_provider_external_id": "<string>",
"biological_sex": "male",
"hours_worked": "<string>",
"pay_frequency": "weekly",
"employment_status": "full_time",
"subclasses": [
"<string>"
],
"job_title": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.