tvaultapi/src/main/java/com/tmobile/cso/vault/api/v2/controller/SelfSupportController.java
@ApiOperation(value = "${SelfSupportController.deleteAWSRoleFromSafe.value}", notes = "${SelfSupportController.deleteAWSRoleFromSafe.notes}")
	@DeleteMapping (value="/v2/ss/sdb/role",consumes="application/json",produces="application/json")
	public ResponseEntity<String> deleteAwsRoleFromSafe(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody AWSRole awsRole){
		UserDetails userDetails = (UserDetails) ((HttpServletRequest) request).getAttribute("UserDetails");
		return selfSupportService.removeAWSRoleFromSafe(userDetails, awsRole, false);
	}
/**
	 * Remove AWS role from Safe and delete the role
	 * @param token
	 * @param awsRole
	 * @return
	 */
Remove AWS role from Safe and delete the role
@param token
@param awsRole
@return
Remove AWS role from Safe and delete the role @param token @param awsRole @return
@ApiOperation(value = "${SelfSupportController.deleteAWSRoleFromSafe.value}", notes = "${SelfSupportController.deleteAWSRoleFromSafe.notes}")
	@DeleteMapping (value="/v2/ss/sdb/role",consumes="application/json",produces="application/json")
	public ResponseEntity<String> deleteAwsRoleFromSafe(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody AWSRole awsRole){
		UserDetails userDetails = (UserDetails) ((HttpServletRequest) request).getAttribute("UserDetails");
		return selfSupportService.removeAWSRoleFromSafe(userDetails, awsRole, false);
	}
@ ApiOperation ( value = "${SelfSupportController.deleteAWSRoleFromSafe.value}" , notes = "${SelfSupportController.deleteAWSRoleFromSafe.notes}" ) @ DeleteMapping ( value = "/v2/ss/sdb/role" , consumes = "application/json" , produces = "application/json" ) public ResponseEntity < String > deleteAwsRoleFromSafe ( HttpServletRequest request , @ RequestHeader ( value = "vault-token" ) String token , @ RequestBody AWSRole awsRole ) { UserDetails userDetails = ( UserDetails ) ( ( HttpServletRequest ) request ) . getAttribute ( "UserDetails" ) ; return selfSupportService . removeAWSRoleFromSafe ( userDetails , awsRole , false ) ; }
Remove AWS role from Safe and delete the role
 @param token
 @param awsRole
 @return
Remove AWS role from Safe and delete the role @param token @param awsRole @return