Skip to content

Data api permissions list

Yuji Takayama edited this page Jul 10, 2013 · 1 revision

Permissions: permissions

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.

Request

HTTP Request

This method accepts GET only.

GET https://your-host/your-mt-api.cgi/v1/users/{user_id}/permissions

Parameters

Method Parameters

Parameter Type Description
user_id unsigned integer The user ID or the word 'me'.

Query Parameters

Parameter Type Description
blogIds string This is an optional parameter. The comma separated ID list of blogs to retrieve.

Request Body

Do not supply a request body.

Response

If successful, this method will return an Permissions resource as the response body.

Status Code

Code Description
200 no error
403 Do not have permission to retrieve the requested user's permissions.
404 User not found
Clone this wiki locally