POST
/
project
/
{project_id}
/
inference-api-key
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

Body

application/json · object

Response

200
application/json

An Inference API Key

The response is of type object.