List tenant entitlements
GET/tenants/{tenant_id}/entitlements
List of innate entitlements available for the Tenant.
Security
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
List tenant entitlements
curl https://api.cloudflare.com/client/v4/tenants/$TENANT_ID/entitlements \
-H "X-Auth-Email: $CLOUDFLARE_EMAIL" \
-H "X-Auth-Key: $CLOUDFLARE_API_KEY"{
"errors": [],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"result": {
"allow_add_subdomain": {
"type": "bool",
"value": true
},
"allow_auto_accept_invites": {
"type": "bool",
"value": true
},
"cname_setup_allowed": {
"type": "bool",
"value": true
},
"custom_entitlements": [
{
"allocation": {
"type": "max_count",
"value": 0
},
"feature": {
"key": "key"
}
}
],
"mhs_certificate_count": {
"type": "max_count",
"value": 0
},
"partial_setup_allowed": {
"type": "bool",
"value": true
}
},
"success": true
}Returns Examples
{
"errors": [],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"result": {
"allow_add_subdomain": {
"type": "bool",
"value": true
},
"allow_auto_accept_invites": {
"type": "bool",
"value": true
},
"cname_setup_allowed": {
"type": "bool",
"value": true
},
"custom_entitlements": [
{
"allocation": {
"type": "max_count",
"value": 0
},
"feature": {
"key": "key"
}
}
],
"mhs_certificate_count": {
"type": "max_count",
"value": 0
},
"partial_setup_allowed": {
"type": "bool",
"value": true
}
},
"success": true
}