curl --request POST \
--url https://api.zo.computer/api-keys/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"key": "<string>",
"key_prefix": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}Create a new API key.
The full key is only returned once in this response - save it immediately.
curl --request POST \
--url https://api.zo.computer/api-keys/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"key": "<string>",
"key_prefix": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}