Skip to main content
PATCH
/
v1
/
plans
/
{plan}
Update plan
curl --request PATCH \
  --url https://demo1-api.payrollintegrationsdemo.com/v1/plans/{plan} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "displayName": "<string>"
}
'
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "displayName": "Updated 401(k) Plan Name",
  "updatedAt": "2024-01-22T16:30:00Z"
}

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

Body

application/json
displayName
string
required

Display name of the plan

Required string length: 1 - 200

Response

Plan updated successfully

id
string<uuid>
required
displayName
string
required
tpes
object[]
required
createdAt
string<date-time>
required