Skip to main content
DELETE
/
v2
/
orgs
/
subscriptions
/
{subscriptionSlug}
Delete Org Subscription
curl --request DELETE \
  --url https://api.studio.prisme.ai/v2/orgs/subscriptions/{subscriptionSlug} \
  --header 'Authorization: Bearer <token>'
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.studio.prisme.ai/v2/orgs/subscriptions/{subscriptionSlug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.studio.prisme.ai/v2/orgs/subscriptions/{subscriptionSlug}"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "success": true
}
{
"error": "AuthenticationError",
"message": "Unauthenticated"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

subscriptionSlug
string
required

Response

Success

success
boolean