Move all eligible memberships belonging to the specified user within this project forward to a target date. This can affect memberships for multiple plans.
Only extend is accepted in the body. Sending membership_ids or all_memberships returns 422. To select a particular membership or a batch by ID, use selected membership extension.
Memberships that already end later, lifetime memberships, and expired memberships whose plan is full are skipped. More than 10,000 memberships for this user returns 409 without changes. This sets an end date, not an additional duration; sending the same date again does not extend twice.
API key scope:memberships:update (required for restricted keys).
Path Parameters
project_idstringrequired
The unique identifier of the project.
user_idstringrequired
The user whose eligible memberships to extend across all plans in this project.
Request Body
extendstring | numberrequired
Future absolute expiry in UTC ISO format YYYY-MM-DDTHH:mm:ss.sssZ, for example 2030-01-01T00:00:00.000Z. Also accepts 13-digit Unix milliseconds for compatibility.