docs
api
Access Control(IAM)
ListPoliciesForGroup

List the permission policies associated with the user group - ListPoliciesForGroup

Overview

List the permission policies associated with the user group

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListPoliciesForGroup.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
GroupNamestringUser Group NameYes
ScopestringApplication ScopeNo
ProjectIDstringProject IDNo
LimitstringThe number of user groups to be queriedNo
OffsetstringStart querying from which data entryNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
Policiesarray[Policy]User Information ArrayYes
TotalCountintTotalYes

Data Model

Policy

Field NameTypeDescription InformationRequired
PolicyNamestringPermission Policy NameYes
PolicyURNstringStrategy URNYes
DescriptionstringDescriptionNo
CreatedAtintCreation TimeNo
ScopestringApplication Scope (ScopeRequired: Project Level, ScopeEmpty: Global Level, ScopeUnrestricted: Project Level/Global Level)No
ProjectIDstringProject IDNo
AttachedAtintThe timestamp when the policy was added to the user groupNo

Example

Request Example

https://api.surfercloud.com/?Action=ListPoliciesForGroup
&GroupName=VHldJkYs
&Scope=tbLpJnNP
&ProjectID=zDsUSYuA
&Limit=mEGbXyIu
&Offset=ZFxUpmzZ

Response Example

{
  "Action": "ListPoliciesForGroupResponse",
  "Message": "ltpagPiP",
  "Policies": [
    {
      "AttachedAt": 3,
      "CreatedAt": 6,
      "Description": "BRMFCakF",
      "PolicyName": "piAGjTUK",
      "PolicyURN": "HLSbhbvw",
      "ProjectID": "JbJFDksq",
      "Scope": "yes"
    }
  ],
  "RetCode": 0,
  "TotalCount": 7
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved