This resource represents permissions. Use it to obtain details of all permissions and determine whether the user has certain permissions.
Get my permissions
GET /rest/api/{2-3}/mypermissions
Returns a list of permissions indicating which permissions the user has. Details of the user's permissions can be obtained in a global, project, or issue context.
for a list of global permissions, the global permissions are granted to a user.
for a list of project permissions and lists of projects and issues, for each project permission a list of the projects and issues a user can access or manipulate.
If no account ID is provided, the operation returns details for the logged-in user.