Manipulate date/time response to only show month/year

I need to be able to show the month and year in a web api (line graph). So eliminate the day and time from the entry. Here is the response data: {
“result”: [
{
“opened_at”: “2022-07-06 09:25:13”
},
{
“opened_at”: “2022-08-08 14:24:39”
},
{
“opened_at”: “2022-05-16 13:43:21”
},
{
“opened_at”: “2022-06-14 08:37:02”
},
{
“opened_at”: “2022-06-10 10:14:44”
},
{