https://api.nodemaven.com/api/v2/base/ and carry the header Authorization: x-api-key YOUR_API_KEY. See the NodeMaven API overview for the shared basics.
Endpoints
Minting a sub-key
ApiKeyCreateRequest has two fields:
expires_at is optional, and because it is nullable you can set it explicitly to null to say the sub-key should not expire. Leaving it out has the same practical effect.
Revoking
Both revoke operations are soft deletes, so the record is marked revoked rather than erased.Why a mint fails
POST /api-keys has two failure codes, and they mean different things:
In both cases the sub-key was not created.