Usage of /me/write-permissions GET
Returns the write permissions a user has via the api, given an access token.
The Stack Exchange API gives users the ability to create, edit, and delete certain types. This method returns whether the passed user is capable of performing those actions at all, as well as how many times a day they can.
This method does not consider the user's current quota (ie. if they've already exhausted it for today) nor any additional restrictions on write access, such as editing deleted comments.
As of V2.2 this method is deprecated. New write permissions will not be added to it.
Instead, check a user's privileges or follow the stack exchange site's conventions of trying certain actions without regard to reputation.
This method returns a list of write_permissions.