Mints an API key bound to an allowed role. Only SUPER_ADMIN may mint SPAR_MARKUP_INTEGRATION, SPAR_MATCHED_INTEGRATION, or SPAR_RECONCILIATION_INTEGRATION. Only SUPER_ADMIN may also mint MVNO_INTEGRATION, which is partnerless, uses the protected role live permission set, requires an explicit environment, and rejects open internet CIDRs. The plain key is returned ONCE in plainKey — store it immediately. The caller must hold a permission-superset of the requested role. Each key requires one or more allowed source IP addresses or CIDR ranges.
Access: Auth methods: JWT bearer. Allowed user types: PARTNER, MVNO. Requires permissions: api-key:admin.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
201Key created; plainKey shown once.
400Invalid request body, source CIDR list, or partner mismatch
403Caller cannot mint a key with that role
404Partner UUID not found