I wanted to check the permissions that have been granted to an address. what API command or cli command should i use ?
You can use listpermissions to Return a list of all permissions which have been explicitly granted to address.