Help Center/ Dedicated Host/ API Reference/ Permissions and Supported Actions/ Actions Supported by Policy-based Authorization
Updated on 2026-01-05 GMT+08:00

Actions Supported by Policy-based Authorization

This section describes the actions supported by DeH in policy-based authorization.

Supported Actions

DeH provides system-defined policies that can be directly used in IAM. You can also create custom policies to supplement system-defined policies for more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:

  • Permissions: statements in a policy that allow or deny certain operations
  • APIs: REST APIs that can be called by a user who has been granted specific permissions
  • Actions: specific operations that are allowed or denied
  • Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.
  • IAM projects/Enterprise projects: the authorization scope of a custom policy. A custom policy can be applied to IAM projects or enterprise projects or both. Policies that contain actions for both IAM and enterprise projects can be used and applied for both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be used and applied to IAM only. Administrators can check whether an action supports IAM projects or enterprise projects in the action list. For details about the differences between IAM and enterprise management, see Differences Between IAM and Enterprise Management.

DeH supports the following actions in custom policies.

Table 1 Actions supported by DeH APIs

Permission

API

Action

IAM Project

Enterprise Project

Allocating DeHs

POST /v1.0/{project_id}/dedicated-hosts

deh:dedicatedHosts:create

Querying the list of DeHs

GET /v1.0/{project_id}/dedicated-hosts

deh:dedicatedHosts:list

Querying DeH details

GET /v1.0/{project_id}/dedicated-hosts/{dedicated_host_id}

deh:dedicatedHosts:get

Querying ECSs on a DeH

GET /v1.0/{project_id}/dedicated-hosts/{dedicated_host_id}/servers

deh:dedicatedHosts:get

Updating DeH attributes

PUT /v1.0/{project_id}/dedicated-hosts/{dedicated_host_id}

deh:dedicatedHosts:update

Releasing a DeH

DELETE /v1.0/{project_id}/dedicated-hosts/{dedicated_host_id}

deh:dedicatedHosts:delete

Querying available DeH types

GET /v1.0/{project_id}/availability-zone/{availability_zone}/dedicated-host-types

deh:dedicatedHostTypes:list

×

Querying the list of DeH types

GET /v1.0/{project_id}/dedicated-host-types

deh:dedicatedHostTypes:list

×

Deleting DeH tags in batches

POST /v1.0/{project_id}/dedicated-host-tags/{dedicated_host_id}/tags/action

deh:dedicatedHostTags:delete

Creating DeH tags in batches

POST /v1.0/{project_id}/dedicated-host-tags/{dedicated_host_id}/tags/action

deh:dedicatedHostTags:create

Querying tags of a specified DeH

GET /v1.0/{project_id}/dedicated-host-tags/{dedicated_host_id}/tags

deh:dedicatedHostTags:list

Querying all DeH tags

GET /v1.0/{project_id}/dedicated-host-tags/tags

deh:dedicatedHostTags:listProjectTags

×

Querying DeHs by tag

POST /v1.0/{project_id}/dedicated-host-tags/resource_instances/action

deh:dedicatedHostTags:listDeh

×

Querying the DeH quota of a tenant

GET /v1.0/{project_id}/quota-sets/{tenant_id}

deh:quotas:get

×