Get subscription features
As an alternate to using the tenant provisioning webhooks you can query for the features that should be enabled on a tenant.
Query
query tenant ($code: String!) {
tenant (code: $code) {
id
code
name
subdomain
latestProvisioningChange {
change
createdAt
features
id
updatedAt
}
}
}{
"code": "tenant-553"
}curl --location 'https://bunny.bunny.internal/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--data '{"query":"query tenant ($code: String!) {\n tenant (code: $code) {\n id \n code \n name \n subdomain\n latestProvisioningChange {\n change\n createdAt\n features\n id\n updatedAt\n } \n }\n}","variables":{"code":"orange-553"}}'Response
Last updated
Was this helpful?
