cURL
curl --request POST \ --url https://api.example.com/v1/auth/keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "id": "<string>", "name": "<string>", "prefix": "<string>", "key": "<string>", "created_at": "<string>" }
API キーを発行する。平文キーは発行時のみ返却される。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
発行直後のみ key を含む。