Create a new global API key assigned to the authenticated user See Using Global API Keys for more information on permission and scope requirements.
OK
Invalid Request
Invalid Request
{- "name": "New API Key",
- "expires_at": "2025-08-20T23:59:59-05:00"
}
{- "id": 1,
- "name": "Test Multi Org Key",
- "is_enabled": true,
- "created_at": "2020-08-04T18:21:47-04:00",
- "expires_at": "2020-08-05T18:21:47-04:00",
- "user": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@automox.com"
}
}