API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path: /users/{user_email}/userroles/{role_name}

Removes a users role membership

Verb: DELETE

Auth: Basic Auth

Sample Request:
$ curl -X DELETE \ https://api.enterprise.apigee.com/v1/o/{org_name}/users/{user_email}/userroles/{role_name} \ -u myname:mypass
Sample Response:
{
  "emailId" : "joe@apigee.com",
  "firstName" : "Joe",
  "lastName" : "Rai",
  "roles" : {
    "role" : [ {
      "name" : "reportsadmin",
      "organization" : "myorg"
    }, {
      "name" : "orgadmin",
      "organization" : "myorg"
    } ]
  }
}

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)