PATCH
/
payroll_benefits
/
{public_id}
curl --request PATCH \
  --url https://sandbox.withclasp.com/payroll_benefits/{public_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payroll_provider_external_id": "<string>"
}'
{
  "id": "<string>",
  "member": "<string>",
  "line_of_coverage": "accident",
  "description": "<string>",
  "member_contribution": "<string>",
  "employer_contribution": "<string>",
  "period": "weekly",
  "effective_start": "2023-11-07T05:31:56Z",
  "effective_end": "2023-11-07T05:31:56Z",
  "payroll_provider_external_id": "<string>",
  "taxability": "pre_tax",
  "coverage_type": "member"
}

Authorizations

Authorization
string
header
required

API Key authentication with required prefix "Bearer"

Path Parameters

public_id
string
required

Body

application/json

Response

200 - application/json

The response is of type object.