资源授权服务(IAM)

更新时间:2023-10-19 08:17:17下载pdf

提供资源权限管理服务,可以帮助您安全、精细化的管理所有的空间、设备资源权限分配。

策略管理

API名称接口地址
创建策略POST:/v2.0/cloud/iam/policy
删除策略DELETE:/v2.0/cloud/iam/policy/{policy_id}
修改策略信息PUT:/v2.0/cloud/iam/policy/{policy_id}
查询策略列表GET:/v2.0/cloud/iam/policy/list
查询策略可用 action 列表GET:/v2.0/cloud/iam/policy/action

权限管理

API名称接口地址
查询项目权限数据GET:/v2.0/cloud/iam/permission/list
解除用户关联权限DELETE:/v2.0/cloud/iam/permission/{permission_id}/user/{user_id}
查询权限数据GET:/v2.0/cloud/iam/permission/user/{user_id}
查询用户列表GET:/v2.0/cloud/iam/user/permission/{permission_id}
创建权限POST:/v2.0/cloud/iam/permission
查询项目下的权限数据GET:/v2.0/cloud/iam/permission/query
查询权限GET:/v2.0/cloud/iam/permission/{permission_id}
删除权限DELETE:/v2.0/cloud/iam/permission/{permission_id}
修改权限信息PUT:/v2.0/cloud/iam/permission/{permission_id}
关联子权限POST:/v2.0/cloud/iam/permission/{permission_id}/item
关联用户和权限POST:/v2.0/cloud/iam/permission/{permission_id}/user/{user_id}
查询子权限列表GET:/v2.0/cloud/iam/permission/{permission_id}/item
解除子权限DELETE:/v2.0/cloud/iam/permission/{permission_id}/item/{item_id}