-
Notifications
You must be signed in to change notification settings - Fork 9
Data api permissions list
Yuji Takayama edited this page Jul 10, 2013
·
1 revision
Retrieve a list of permissions for a user.
Authorization is required and can specify only 'me' (or user's own user ID) except for a super user.
This method accepts GET only.
GET https://your-host/your-mt-api.cgi/v1/users/{user_id}/permissions
Parameter | Type | Description |
---|---|---|
user_id | unsigned integer | The user ID or the word 'me'. |
Parameter | Type | Description |
---|---|---|
blogIds | string | This is an optional parameter. The comma separated ID list of blogs to retrieve. |
Do not supply a request body.
If successful, this method will return an Permissions resource as the response body.
Code | Description |
---|---|
200 | no error |
403 | Do not have permission to retrieve the requested user's permissions. |
404 | User not found |