curl --request POST \
--url https://api.deepinfra.com/v1/api-tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"token": "<string>",
"created_at": 123,
"name": "<string>",
"token_id": "<string>",
"allowed_ips": [
"<string>"
]
}curl --request POST \
--url https://api.deepinfra.com/v1/api-tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"token": "<string>",
"created_at": 123,
"name": "<string>",
"token_id": "<string>",
"allowed_ips": [
"<string>"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.