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>"
}
Updates a member’s details.
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>"
}
API Key authentication with required prefix "Bearer"
The response is of type object
.