v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Plans

Update a plan

Modify an existing subscription plan's configuration. Changes affect all clients using this plan; use with caution.

put/fastedge/v1/admin/plans/{plan_id}

Path parameters

plan_idinteger required

Unique identifier of the plan to update

Request body

idinteger

Plan ID

max_durationinteger required

Maximum execution time per request in milliseconds. Requests exceeding this limit are terminated.

mem_limitinteger required

Maximum memory allocation per instance in bytes. Prevents runaway memory usage.

max_subrequestsinteger required

Maximum number of outgoing HTTP requests allowed per invocation (0 disables external requests)

billing_plan_idinteger

Billing plan ID

reseller_idinteger required

Reseller plan ID

namestring required

Unique plan identifier (alphanumeric and hyphens)

cache_mode0 | 1 | 2

Caching mode:
0 - no caching
1 - client-scoped caching
2 - app-scoped caching

Example request

{
  "max_duration": 50,
  "mem_limit": 10485760,
  "name": "enterprise-tier"
}

Response

Plan updated successfully