write about example of list permission API