POST
/api-keys
Create Api Key
Compatibility endpoint to create api key data.
Compatibility endpoint to create api key data.
curl -X POST "http://localhost:8080/v1/api-keys" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "Production Mailer Key",
"permission": "sending_access",
"domain": "mglprime.uk"
}'
{
"id": "id_123"
}
{
"name": "Production Mailer Key",
"permission": "sending_access",
"domain": "mglprime.uk"
}