I'm trying to manage users from a Powershell script. As it returns a permission error using an API key of the administrator (OrgAdmin and SDAdmin roles), I tried on the REST API documentation page and it has the same return:
{
"response_status": {
"status_code": 4000,
"messages": [
{
"status_code": 4002,
"type": "failed",
"message": "User does not have this permission"
}
],
"status": "failed"
}
}
Is there any previous procedure to call this and delete the user? Or is there a bug with it?
I'm using SDP Enterprise edition, v14.500, on MS SQL Server
Thanks.