deleteRole method
Deletes a role from a hospital.
hospitalId
The ID of the hospital.
roleId
The ID of the role to delete.
Returns a Future<void>
.
Implementation
Future<void> deleteRole(int hospitalId, int roleId) async {
await _makeRequest('/api/hospitals/$hospitalId/roles/$roleId/',
method: 'DELETE');
}