PUT v1/core/accounts/{accId}/accessgroups/{accgrpId}

Update the access group with the new details

Request Information

Parameters

NameDescriptionAdditional information
accId
the account id

Define this parameter in the request URI.

accgrpId
the access group id

Define this parameter in the request URI.

value
the updated access group object

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ID": 1,
  "AccountID": 2,
  "Name": "sample string 3",
  "Status": "Enabled|Disabled|OutOfBand",
  "PrivateAccessMFA": "Disabled|OutOfBand"
}

text/javascript

Sample:
{"ID":1,"AccountID":2,"Name":"sample string 3","Status":0,"PrivateAccessMFA":0}

application/xml, text/xml

Sample:
<AccessGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <AccountID>2</AccountID>
  <ID>1</ID>
  <Name>sample string 3</Name>
  <PrivateAccessMFA>Disabled|OutOfBand</PrivateAccessMFA>
  <Status>Enabled|Disabled|OutOfBand</Status>
</AccessGroup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AccessGroup'.

application/bson

Sample:
XIDAccountIDNamesample string 3StatusPrivateAccessMFA

Response Information

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"
  },
  "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},"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfAccessGroupCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <AccountID>2</AccountID>
    <ID>1</ID>
    <Name>sample string 3</Name>
    <PrivateAccessMFA>Disabled|OutOfBand</PrivateAccessMFA>
    <Status>Enabled|Disabled|OutOfBand</Status>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfAccessGroupCA1DLPoZ>

application/bson

Sample:
�SuccessDataXIDAccountIDNamesample string 3StatusPrivateAccessMFAErrorCodeErrorDescriptionsample string 3Metasample string 4