Skip to main content
PATCH
/
v1
/
plans
/
{plan}
/
tpes
/
{tpe}
Update TPE relationship
curl --request PATCH \
  --url https://demo1-api.payrollintegrationsdemo.com/v1/plans/{plan}/tpes/{tpe} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "message": "<string>",
  "errors": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

plan
string<uuid>
required
tpe
string<uuid>
required

Body

application/json
enabled
boolean
required

Enable or disable the TPE relationship

Response

TPE relationship updated successfully