API Documentation
organizations/setRole
Add a user with an arbitrary role to an organization.
URL
https://disqus.com/api/3.0/organizations/setRole.json
Accessibility
public key, secret key
Supported request methods
POST
Supported formats
json, jsonp
Requires authentication
yes
Rate limited
inherits global rate limit
Arguments
Required
-
user
Looks up a user by ID
You may look up a user by username using the 'username' query type. -
organization
Looks up an organization by ID
You must be an admin on the selected organization.
Optional
-
isModerator
Defaults to
null
-
isAdmin
Defaults to
null