Contents
Plans and entitlements
The plans offered to your organization and the limits that apply to it.
Examples marked as generated are built from the schema with synthetic values.
- GETList entitlements
/api/v2/organization/entitlements - GETList plans
/api/v2/plans
GET
/api/v2/organization/entitlementsList entitlements
Returns the limits and features that apply to the organization.
- Authentication
- API token or portal session
- Required permission
organization.read
Responses
200OKapplication/json
Fields (4)
Responses listEntitlements 200 Field Type Required Rules data array<object> Yes data[].key string Yes data[].value any Yes data[].source string Yes - One of: plan, override, default
Example (generated from the schema) { "data": [ { "key": "sites.max", "value": "string", "source": "plan" } ] }401Unauthorizedapplication/problem+json
Headers: WWW-Authenticate
Error codes:
Problem details body
Example { "type": "https://www.cdnify.lat/docs/errors/unauthenticated", "title": "Authentication required", "status": 401, "code": "unauthenticated", "request_id": "req_01EXAMPLE00000000000000000" }
curl 'https://api.cdnify.lat/api/v2/organization/entitlements' \
-H "Authorization: Bearer $CDNIFY_API_TOKEN"GET
/api/v2/plansList plans
Returns the plans offered to the organization.
- Authentication
- API token or portal session
- Required permission
organization.read
Responses
200OKapplication/json
Fields (13)
Responses listPlans 200 Field Type Required Rules data array<object> Yes data[].code string Yes data[].name string Yes data[].description string Yes data[].family string Yes - Can be null
data[].price oneOf Yes data[].price.#1 any No - Can be null
data[].price.#2 object No data[].price.#2.amount string Yes data[].price.#2.currency string Yes data[].price.#2.interval_unit string Yes data[].price.#2.interval_count integer Yes data[].entitlements object Yes Example (generated from the schema) { "data": [ { "code": "string", "name": "Example", "description": "string", "family": "string", "price": "string", "entitlements": {} } ] }401Unauthorizedapplication/problem+json
Headers: WWW-Authenticate
Error codes:
Problem details body
Example { "type": "https://www.cdnify.lat/docs/errors/unauthenticated", "title": "Authentication required", "status": 401, "code": "unauthenticated", "request_id": "req_01EXAMPLE00000000000000000" }
curl 'https://api.cdnify.lat/api/v2/plans' \
-H "Authorization: Bearer $CDNIFY_API_TOKEN"