# Role Assignments

This contains APIs for CRUD on role assignments

## Bulk Delete Role Assignment

 - [POST /authz/api/roleassignments/delete/batch](https://apidocs.harness.io/role-assignments/bulkdeleteroleassignment.md): Bulk delete role assignments by identifiers

## Create Role Assignments

 - [POST /authz/api/roleassignments/multi](https://apidocs.harness.io/role-assignments/postroleassignments.md): Create multiple role assignments in a scope. Returns all successfully created role assignments. Ignores failures and duplicates.

## List Role Assignments

 - [GET /authz/api/roleassignments](https://apidocs.harness.io/role-assignments/getroleassignmentlist.md): List role assignments in the given scope

## Create Role Assignment

 - [POST /authz/api/roleassignments](https://apidocs.harness.io/role-assignments/postroleassignment.md): Creates role assignment within the specified scope.

## Get Role Assignment

 - [GET /authz/api/roleassignments/{identifier}](https://apidocs.harness.io/role-assignments/getroleassignment.md): Get an existing role assignment by identifier

## Delete Role Assignment

 - [DELETE /authz/api/roleassignments/{identifier}](https://apidocs.harness.io/role-assignments/deleteroleassignment.md): Delete an existing role assignment by identifier

## List Role Assignments by filter

 - [POST /authz/api/roleassignments/filter](https://apidocs.harness.io/role-assignments/getfilteredroleassignmentlist.md): List role assignments in the scope according to the given filter

## List Aggregated Role Assignments by filter

 - [POST /authz/api/roleassignments/aggregate](https://apidocs.harness.io/role-assignments/getroleassignmentaggregatelist.md): List role assignments in the scope according to the given filter with added metadata

## List Role Assignments by scope filter

 - [POST /authz/api/roleassignments/v2/filter](https://apidocs.harness.io/role-assignments/getfilteredroleassignmentbyscopelist.md): List role assignments in the scope according to the given filter

## Validate Role Assignment

 - [POST /authz/api/roleassignments/validate](https://apidocs.harness.io/role-assignments/validateroleassignment.md): Check whether a proposed role assignment is valid.

