REST API for the account and resource