Create API key
documentedCreate a new API key (admin scope).
POST /admin/keys.jsonAdminno implementation yet0 runsInput
admin_username*
Admin Username (for Api-Username header)
admin or system
description*
API Key Description
e.g., 'AppX integration key'
scope*
API Key Scope
Global | Read-only | Granular
target_username
Target Username (Single-User Key)
target_user
Calls discourse as you (your API key is your account); keychains.dev holds the credentials.