Skip to main content
PATCH
/
v2
/
orgs
/
subscriptions
/
{subscriptionSlug}
cURL
curl --request PATCH \
  --url https://api.eda.prisme.ai/v2/orgs/subscriptions/{subscriptionSlug} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "tier": "<string>",
  "plan": "<string>",
  "status": "<string>",
  "isDefault": true,
  "limits": {},
  "features": {},
  "billing": {},
  "startedAt": "<string>",
  "expiresAt": "<string>"
}
'
{
  "slug": "<string>",
  "name": "<string>",
  "tier": "<string>",
  "status": "active",
  "id": "<string>",
  "plan": "<string>",
  "isDefault": true,
  "limits": {},
  "features": {},
  "billing": {},
  "startedAt": "<string>",
  "expiresAt": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

subscriptionSlug
string
required

Body

application/json
name
string
tier
string
plan
string
status
string
isDefault
boolean
limits
object
features
object
billing
object
startedAt
string
expiresAt
string

Response

Success

slug
string
required
name
string
required
tier
string
required
status
enum<string>
required
Available options:
active,
inactive,
trialing,
past_due,
canceled
id
string
plan
string
isDefault
boolean
limits
object
features
object
billing
object
startedAt
string
expiresAt
string
createdBy
string
updatedBy
string
createdAt
string
updatedAt
string