Send Docs Feedback

Add a user to a role

Resource Summary

Security

Content Type

application/x-www-form-urlencoded

Category

Roles at Organization Level,

addMembershipRolePost

POST

Add a user to a role

Add a user to a role. Replace the role name in the URL with the specific role for the user. Roles include:

  • Organization administrator: orgadmin
  • Read-only organization administrator (Cloud only): readonlyadmin
  • Operations administrator: opsadmin
  • Business user: businessuser
  • User: user

Or, if you created a custom role, specify the name of that role. 

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/userroles/{role_name}/users

Query Parameters

Name Values Description
id
(required)

Specify the email address of the user.

Header Parameters

Name Values Description
Content-Type
(required)

Specify the content type as application/x-www-form-urlencoded.

Request Body

org_name Mention the organization name true

role_name Mention the role name true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?