POST
/
workspaces
/
{workspace_id}
/
secrets
Create secret
curl --request POST \
  --url https://s-server-demo.siftd.ai:9800/api/workspaces/{workspace_id}/secrets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "store_ref": "<string>",
  "store_type": "spin_store",
  "value": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "store_ref": "<string>",
  "store_type": "spin_store",
  "value": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace_id
string
required

Workspace ID

Query Parameters

org_id
string
required

Organization ID

Body

application/json

Secret object

The body is of type object.

Response

201 - */*

Created

The response is of type object.