Fynn icon

Fynn

Interact with the Fynn API

Subscription → Revoke Trial

AI-generated

Summary

Revoke the trial period of a subscription

Inputs

  • subscriptionId (required) — The subscription ID (UUID) to revoke trial for
  • requestOptions — Additional request configuration such as batching, SSL verification, proxy, and timeout

Output shape

a single subscription record

Returns the updated subscription object; errors are thrown as node errors

Examples

Example 1: Revoke a trial subscription using its UUID

subscriptionId: 550e8400-e29b-41d4-a716-446655440000, requestOptions: {batchSize: 1, batchInterval: 0, allowUnauthorizedCerts: false, proxy: "", timeout: 10000}

Example 2: Revoke a trial with default request settings

subscriptionId: 123e4567-e89b-12d3-a456-426614174000, requestOptions: {}

Example 3: Revoke a trial with batch processing enabled

subscriptionId: 987e6543-e21b-43d4-b524-665544330011, requestOptions: {batching: {batchSize: 50, batchInterval: 1000}}

Discussion