Authorization Service RESTful APIs - Release v1.0a
The Authorization Service offers a RESTful interface to CRUD (create, read, update, and delete) operations on individual role and permission instances, and to list/search multiple roles and permissions instances.
There are two entity resources offering RESTful interface in the Authorization Service.
- Role
- Permission
There are two relationship resources offering RESTful interface.
- PermissionRole describes relationship between a permission and role(s) or vice versa. This is a sub resource of permission and role resources. That means you could add/remove permissions to a role using the permission service or roles to a permission using the roles service.
- AccountRole describes relationship between an account and role(s) or vice versa. This is a sub resource of account and role resources. That means you could add/remove accounts to a role using the role service or roles to an account using the accounts service.
The RESTful APIs for these resources are described below: