WorkspacePermissionItem

Updated at:
Copy as MD

Parameter

Type

Description

Example

object

The check result for a single action in the request, where the order matches the sequence of the requested actions.

action

string

The normalized RAM action, which always includes the agentrun: prefix, such as agentrun:ListTemplates.

agentrun:GetWorkspace

allowed

boolean

Indicates whether the RAM permission check is passed. The value is true if the check passes, and false if the workspace does not exist, the action is invalid or unsupported, or a RAM SDK error occurs.

message

string

The human-readable reason for the result. This is typically an empty string when the check passes.

操作成功

accessDeniedDetail AccessDeniedDetail

The access denial details returned when RAM explicitly denies the request and the details can be constructed. This field is omitted if the check passes or the denial is not caused by RAM.