Deny a list of users

POST https://{controlplane_path}/api/1/rest/public/apim/deny_users      

This API denies access to the user ID or a list of user IDs that appear in created status under Subscription Manager.

Note: The approval process is unsuccessful if the user is not registered in Developer Portal.

Prerequisites

  • Org admin (Environment admin) permissions
  • Developer portal login credentials
  • Specify the user ID or list of user IDs access denial

Response


{
  {
  "response_map": {
    "successful denials": [
      {
        "User IDs": [
          "test3@gmail.com",
          "test4@gmail.com"
        ]
      }
    ],
    "failed denials": [
      {
        "User test1@gmail.com": "User is not registered"
      },
      {
        "User test2@gmail.com": "User is not registered"
      }
    ]
  }
}       
Key Type Description
{ "Successful Denials" : <list of usernames>(list of strings) } array The JSON object array contains the list of user IDs that are successfully denied.
{ "Failed denials" : < list of username: error when approving> } array The JSON object array contains the list of user IDs that failed the denial process.