Issues a new API key JWT. Requires admin token.
cURL
curl --request POST \ --url https://api.yapcoder.com/api/v1/auth/api-keys/issue \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "subject": "<string>", "ttl_hours": 123, "scope": "<string>" } '
{ "api_key": "<string>", "expires_at": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
API key issued