| Field | Type | Required | Description | Example |
|---|---|---|---|---|
scopeType |
Optional<ScopeTypeEnum> | ➖ | Specifies the level for retrieving policies or roles, either at the account level or within product environments. | prodenv |
scopeId |
Optional<String> | ➖ | The ID of a specific product environment where the policy is applied. This parameter is only relevant if scope_type is "prodenv".- <product_environment_id> |
|
principalType |
Optional<PrincipalTypeEnum> | ➖ | The type of principal you want to retrieve roles or permission policies for. | user |
principalId |
Optional<String> | ➖ | The unique identifier of the principal you want to retrieve roles or permission policies for. Notes: * This parameter is mandatory if principal_type is provided.* Ensure the specified ID belongs to a principle of the specified type. |