API Permissions
Domain Name Operations
| Permission | Action | API | IAM Project | Enterprise Project |
|---|---|---|---|---|
| Querying domain names | cdn:configuration:queryDomains | GET /v1.0/cdn/domains | √ | √ |
| Creating a domain name | cdn:configuration:createDomains | POST /v1.0/cdn/domains | √ | √ |
| Disabling domain names | cdn:configuration:disableDomains | PUT /v1.0/cdn/domains/{domainId}/disable | √ | √ |
| Deleting domain names | cdn:configuration:deleteDomains | DELETE /v1.0/cdn/domains/{domainId} | √ | √ |
| Enabling domain names | cdn:configuration:enableDomains | PUT /v1.0/cdn/domains/{domainId}/enable | √ | √ |
Domain Name Configuration
| Permission | Action | API | IAM Project | Enterprise Project |
|---|---|---|---|---|
| Querying origin server information | cdn:configuration:queryOriginServerInfo | GET /v1.0/cdn/bucketinfo | √ | √ |
| Querying origin pull address | cdn:configuration:queryOriginConfInfo | GET /v1.0/cdn/domains/{domainId}/originhost | √ | √ |
| Querying HTTPS configurations | cdn:configuration:queryHttpsConf | GET /v1.0/cdn/domains/{domain_id}/https-info | √ | √ |
| Querying cache rules | cdn:configuration:queryCacheRule | GET /v1.0/cdn/domains/{domainId}/cache | √ | √ |
| Querying referer filtering rules | cdn:configuration:queryReferConf | GET /v1.0/cdn/domains/{domainId}/referer | √ | √ |
| Querying IP blacklists | cdn:configuration:queryIpAcl | GET /v1.0/cdn/domains/{domain_id}/ip-acl | √ | √ |
| Querying response header information | cdn:configuration:queryResponseHeaderList | GET /v1.0/cdn/domains/{domainId}/response-header | √ | √ |
| Modifying origin server information | cdn:configuration:modifyOriginServerInfo | PUT /v1.0/cdn/domains/{domainId}/origin | √ | √ |
| Modifying origin pull addresses | cdn:configuration:modifyOriginConfInfo | PUT /v1.0/cdn/domains/{domainId}/originhost | √ | √ |
| Configuring HTTPS | cdn:configuration:modifyHttpsConf | PUT /v1.0/cdn/domains/{domain_id}/https-info | √ | √ |
| Configuring cache rules | cdn:configuration:modifyCacheRule | PUT /v1.0/cdn/domains/{domainId}/cache | √ | √ |
| Configuring a referer list | cdn:configuration:modifyReferConf | PUT /v1.0/cdn/domains/{domainId}/referer | √ | √ |
| Setting IP blacklists | cdn:configuration:modifyIpAcl | PUT /v1.0/cdn/domains/{domain_id}/ip-acl | √ | √ |
| Setting response headers | cdn:configuration:createResHeader | PUT /v1.0/cdn/domains/{domainId}/response-header | √ | √ |
| Modifying origin request headers | cdn:configuration:modifyOriginConfInfo | PUT /v2/cdn/configuration/domains/{domain_name}/configs | √ | √ |
| Viewing origin request headers | cdn:configuration:queryOriginConfInfo | GET /v2/cdn/configuration/domains/{domain_name}/configs | √ | √ |
Refreshing and Preheating
| Permission | Action | API | IAM Project | Enterprise Project |
|---|---|---|---|---|
| Querying refreshing the preheating histories | cdn:configuration:queryCacheHistoryTask | GET /v1.0/cdn/historytasks | √ | √ |
| Querying a cache refreshing or preheating task | cdn:configuration:queryCacheHistoryTask | GET /v1.0/cdn/historytasks/{history_tasks_id}/detail | √ | √ |
| Enabling the refreshing function | cdn:configuration:refreshCache | POST /v1.0/cdn/content/refresh-tasks | √ | √ |
| Enabling the preheating function | cdn:configuration:preheatCache | POST /v1.0/cdn/content/preheating-tasks | √ | √ |
Analytics
| Permission | Action | API | IAM Project | Enterprise Project |
|---|---|---|---|---|
| Querying consumption details | cdn:statistics:queryDomainSummaryDetail | GET /v1.0/cdn/statistics/domain-summary-detail | √ | √ |
| Querying consumption of each domain name | cdn:statistics:queryDomains | GET /v1.0/cdn/statistics/domain | √ | √ |
| Querying region consumption | cdn:statistics:queryRegionSummary | GET /v1.0/cdn/statistics/region-detail-summary | √ | √ |
| Querying carrier consumption | cdn:statistics:queryCarrierSummary | GET /v1.0/cdn/statistics/carrier-detail-summary | √ | √ |
| Querying details about top 100 URLs | cdn:statistics:queryTopUrl | GET /v1.0/cdn/statistics/top-url | √ | √ |
| Querying statistics about domain name consumption under a region or carrier | cdn:statistics:queryRegionCarrierData | GET /v1.0/cdn/statistics/region-carrier-domain | √ | √ |
CDN Logs
| Permission | Action | API | IAM Project | Enterprise Project |
|---|---|---|---|---|
| Querying logs | cdn:log:queryLogs | GET /v1.0/cdn/logs | √ | √ |
CDN Billing
| Permission | Action | API | IAM Project | Enterprise Project |
|---|---|---|---|---|
| Querying the billing option | cdn:configuration:queryChargeMode | GET /v1.0/cdn/charge/charge-modes | √ | × |
| Configuring the billing option | cdn:configuration:modifyChargeMode | PUT /v1.0/cdn/charge/charge-modes | √ | × |
Quotas
| Permission | Action | API | IAM Project | Enterprise Project |
|---|---|---|---|---|
| Querying quotas | cdn:configuration:queryDomains | GET /v1.0/cdn/quota | √ | × |
Last Article: Introduction
Next Article: Appendix
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.