PATCH
cURL

Authorizations

Authorization
string
header
required

JWT bearer token. App-user tokens are issued by POST /auth/token (the partner backend calls it as its platform service account); admin and dashboard tokens are issued via OIDC login.

Path Parameters

benefit_id
string
required

Benefit ID

Body

application/json
benefit_details
object
description
string | null
name
string | null
requirements
object[] | null
status
null | enum<string>

Benefit lifecycle status.

Available options:
ACTIVE,
INACTIVE

Response

Benefit updated

benefit_details
object
required
benefit_type
enum<string>
required

Kind of benefit offered by a provider. Stored as TEXT — deliberately not a PostgreSQL enum, so adding a kind needs no migration.

Available options:
CONSULTATION,
INSURANCE_POLICY,
HEALTH_CHECKUP
created_at
string
required
id
string
required
last_modified_at
string
required
name
string
required
provider_id
string
required
provider_name
string
required
requirements
object[]
required
status
enum<string>
required

Benefit lifecycle status.

Available options:
ACTIVE,
INACTIVE
description
string | null