DELETE v1/core/Accounts/{accId}/users/{usrId}/role

Remove the delegated admin role for this user

Request Information

Parameters

NameDescriptionAdditional information
accId
the account to look for the user in

Define this parameter in the request URI.

usrId
the user id to retrieve

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "RoleID": 1,
    "UserID": 2
  },
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":{"RoleID":1,"UserID":2},"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfAssignedRoleCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <RoleID>1</RoleID>
    <UserID>2</UserID>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfAssignedRoleCA1DLPoZ>

application/bson

Sample:
�SuccessDataRoleIDUserIDErrorCodeErrorDescriptionsample string 3Metasample string 4