Hi Team,
When I am trying to add the “vault admin” safe member through postman to any safe , is adding successfully through postman . But it is throwing “403 forbidden” below response.
Actually I am expecting 201 response.
{“ErrorCode”:“CAWS00001E”,“ErrorMessage”:""}
Rest API call: POST method: {{BaseURL}}/PasswordVault/WebServices/PIMServices.svc/Safes/{{Safe}}/Members
BODY:
{
"member": {
"MemberName":"vault admin",
"SearchIn":"vault",
"MembershipExpirationDate":"",
"Permissions":
[
{"Key":"UseAccounts", "Value":true},
{"Key":"RetrieveAccounts", "Value":true},
{"Key":"ListAccounts", "Value":true},
{"Key":"AddAccounts", "Value":true},
{"Key":"UpdateAccountContent", "Value":true},
{"Key":"UpdateAccountProperties", "Value":true},
{"Key":"InitiateCPMAccountManagementOperations", "Value":true},
{"Key":"SpecifyNextAccountContent", "Value":true},
{"Key":"RenameAccounts", "Value":true},
{"Key":"DeleteAccounts", "Value":true},
{"Key":"UnlockAccounts", "Value":true},
{"Key":"ManageSafe", "Value":true},
{"Key":"ManageSafeMembers", "Value":true},
{"Key":"BackupSafe", "Value":true},
{"Key":"ViewAuditLog", "Value":true},
{"Key":"ViewSafeMembers", "Value":true},
{"Key":"RequestsAuthorizationLevel", "Value":2},
{"Key":"AccessWithoutConfirmation", "Value":true},
{"Key":"CreateFolders", "Value":true},
{"Key":"DeleteFolders", "Value":true},
{"Key":"MoveAccountsAndFolders", "Value":true}
]
}
}
Please review and suggest , what could be the issue.
Regards,
Phani.G