This is available in UserVoice Discovery Premium.
Not included in your plan? Want to learn more about the benefits? Leave us a message! If you're viewing this on our Help Center, click the Support bubble in the lower-right of this page.
Not included in your plan? Want to learn more about the benefits? Leave us a message! If you're viewing this on our Help Center, click the Support bubble in the lower-right of this page.
Any interaction with the UserVoice Admin API requires a trusted API client. You can create one by following guide.
Permissions Endpoint
Create the endpoint: POST /api/v2/admin/permissions
To add permissions to users, this requires two parameters to pass: email and license_type
The following strings are valid for license_type: "fullaccess_admin","admin","contributor", or"feedback_admin"
JSON example:
Updating Existing Permissions
First, you will need to find the permission record ID. To do this, use the List Permissions endpoint to find the record by the User ID.
Request: GET /api/v2/admin/permissions?user={id}
The permission record ID will appear in the response in the id attribute.
"permissions": [
{
"id": 123456,
"license_type": "admin",
"feedback": "manage",
"features": "manage",
"settings": "manage_account",
"links": {
"user": 123456789
}
}
]
You can now use this ID with the Update Permissions endpoint.
Request: PUT /api/v2/admin/permissions/123456 { "license_type": "contributor" }
Other Permission Parameters
| features |
features (string) Nullable
Default:
"none""none", "view", "manage"
|
| feedback |
feedback (string) Nullable
Default:
"contribute""none", "view","contribute", "manage"
|
| knowledgebase |
knowledgebase (string) Nullable
Default:
"none""none", "view", "manage"
|
| reply_to |
reply_to (string) Nullable
|
| settings |
settings (string) Nullable
Default:
"none""none", "manage", "manage_account"
|