Skip to main content
PUT
Change the current user's billing plan

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Body

The change billing plan request payload for the operation.

Defines the input used for change billing plan.

billingPlan
enum<string>
required

Billing plan for this billing plan.

Available options:
Annual,
Monthly

Response

Returns the user response.

Describes user data returned by Leadping.

email
string<email>

The email address associated with this user.

firstName
null | string

First name for this user.

lastName
null | string

Last name of the Leadping user.

phone
null | string

The phone number associated with this user.

timeZoneId
null | string

IANA time zone identifier used when displaying dates and times for this user.

billingPlan
null | enum<string>

Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.

Available options:
Annual,
Monthly
subscriptionStatus
null | enum<string>

Describes an organization's billing subscription lifecycle, including trial, active, delinquent, canceled, and expired states.

Available options:
Pending,
Active,
Overdue,
Canceled
billingState
object | null

Customer-safe billing state for the user's currently selected organization.

roles
null | string[]

The roles included with this user.

A Leadping user role value.

identities
null | object[]

The identities included with this user.

currentOrganization
object | null

Current organization for this user.

compliance
object | null

Compliance for this user.

notificationPreferences
object | null

Notification preferences for this user.

mobileDevicePreferences
null | object[]

The Leadping mobile device preferences for this user.

lastLoggedInAt
null | string<date-time>

The date and time when this user last completed the Leadping sign-in flow.

personalDataDeletionRequestedAt
null | string<date-time>

UTC timestamp for personal data deletion requested at on this user.

personalDataDeletedAt
null | string<date-time>

UTC timestamp for personal data deleted at on this user.

personalDataDeletionStatus
null | string

The current personal data deletion status for this user.

personalDataDeletionReason
null | string

The human-readable personal data deletion reason explaining this user.

name
string

Human-readable display name of the resource.

id
string

Stable unique identifier of the resource.

createdAt
string<date-time>

UTC timestamp when the resource was created.

modifiedAt
null | string<date-time>

UTC timestamp when the resource was last modified, or null when it has not been updated.