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 | √ | √ |
Statistics Analysis
| Permission | Action | API | IAM Project | Enterprise Project |
|---|---|---|---|---|
| Querying domain name statistics by region and carrier | cdn:statistics:queryStats | /v1.0/cdn/statistics/domain-location-stats ShowDomainLocationStats get | √ | √ |
| Querying basic domain name statistics | cdn:statistics:queryStats | /v1.0/cdn/statistics/domain-stats ShowDomainStats get | √ | √ |
| Querying peak bandwidth data of a domain name | cdn:statistics:queryDomainSummaryDetail | /v1.0/cdn/statistics/bandwidth-calc ShowBandwidthCalc get | √ | √ |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.