GET v1/core/accounts/{accId}/accessgroups
returns all the access groups in an account
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
accId | the account id |
Define this parameter in the request URI. |
Response Information
a list of access groups (possibly empty) in an account
Response body formats
application/json, text/json
Sample:
{ "Success": true, "Data": [ { "ID": 1, "AccountID": 2, "Name": "sample string 3", "Status": "Enabled|Disabled|OutOfBand", "PrivateAccessMFA": "Disabled|OutOfBand" }, { "ID": 1, "AccountID": 2, "Name": "sample string 3", "Status": "Enabled|Disabled|OutOfBand", "PrivateAccessMFA": "Disabled|OutOfBand" }, { "ID": 1, "AccountID": 2, "Name": "sample string 3", "Status": "Enabled|Disabled|OutOfBand", "PrivateAccessMFA": "Disabled|OutOfBand" } ], "ErrorCode": 2, "ErrorDescription": "sample string 3", "Meta": "sample string 4" }
text/javascript
Sample:
{"Success":true,"Data":[{"ID":1,"AccountID":2,"Name":"sample string 3","Status":0,"PrivateAccessMFA":0},{"ID":1,"AccountID":2,"Name":"sample string 3","Status":0,"PrivateAccessMFA":0},{"ID":1,"AccountID":2,"Name":"sample string 3","Status":0,"PrivateAccessMFA":0}],"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}
application/xml, text/xml
Sample:
<PBNBReturnOfArrayOfAccessGroupCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models"> <Data> <AccessGroup> <AccountID>2</AccountID> <ID>1</ID> <Name>sample string 3</Name> <PrivateAccessMFA>Disabled|OutOfBand</PrivateAccessMFA> <Status>Enabled|Disabled|OutOfBand</Status> </AccessGroup> <AccessGroup> <AccountID>2</AccountID> <ID>1</ID> <Name>sample string 3</Name> <PrivateAccessMFA>Disabled|OutOfBand</PrivateAccessMFA> <Status>Enabled|Disabled|OutOfBand</Status> </AccessGroup> <AccessGroup> <AccountID>2</AccountID> <ID>1</ID> <Name>sample string 3</Name> <PrivateAccessMFA>Disabled|OutOfBand</PrivateAccessMFA> <Status>Enabled|Disabled|OutOfBand</Status> </AccessGroup> </Data> <ErrorCode>2</ErrorCode> <ErrorDescription>sample string 3</ErrorDescription> <Meta>sample string 4</Meta> <Success>true</Success> </PBNBReturnOfArrayOfAccessGroupCA1DLPoZ>
application/bson
Sample:
z Success Data 0 X ID AccountID Name sample string 3 Status PrivateAccessMFA 1 X ID AccountID Name sample string 3 Status PrivateAccessMFA 2 X ID AccountID Name sample string 3 Status PrivateAccessMFA ErrorCode ErrorDescription sample string 3 Meta sample string 4