Skip to content

Set a secret to a project

Request

Security
ApiKeyAuth
Path
idinteger, (int32)required

project id

keystringrequired

secret key

Bodyapplication/json
valuestringrequired

value of the secret

Example:"TD1 12345..."
curl -i -X PUT \
  'https://api-workflow.treasuredata.com/api/projects/{id}/secrets/{key}' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "value": "TD1 12345..."
  }'

Responses

Treasure Workflow never returns content