We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Couldn't load subscription status. Retry
There was an error while loading. Please reload this page.
Retrieve a list of permissions for an user.
GET https://your-host/your-mt-api.cgi/v1/users/:user_id/permissions Detail
XMLHttpRequest: A XMLHttpRequest object
api.listPermissionsForUser(userId, function(response) { if (response.error) { // Handle error return; } // Do stuff });
Or
var params = { fields: "undefined" }; api.listPermissionsForUser(userId, params, function(response) { if (response.error) { // Handle error return; } // Do stuff });