curl --request POST \
--url https://api.ubicloud.com/project/{project_id}/inference-api-key \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"id": "akaz0q3vbrpa7pkg7zbmah9csn",
"key": "<string>"
}
curl --request POST \
--url https://api.ubicloud.com/project/{project_id}/inference-api-key \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"id": "akaz0q3vbrpa7pkg7zbmah9csn",
"key": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
An Inference API Key
The response is of type object
.