Skip to main content
POST
/
v1
/
compute
/
{id}
/
secrets
Set compute secret
curl --request POST \
  --url https://api.usenaive.ai/v1/compute/{id}/secrets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "key": "<string>",
  "value": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required

Body

application/json
key
string
required
value
string
required

Response

Saved.

The response is of type object.