curl --request PATCH \
--url https://api.withampersand.com/v1/projects/{projectIdOrName}/api-keys/{apiKey} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"updateMask": [
"active",
"label"
],
"apiKey": {
"label": "MailMonkey API Key",
"active": true,
"scopes": [
[
"full",
"frontend"
]
]
}
}
'