Vigilfield Docs
API referenceStorage key

`PUT /storage-key` — set or replace the org's storage key.

PUT/storage-key

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

PUT /storage-key body — set (or replace) the org's storage key.

Response Body

application/json

curl -X PUT "https://example.com/storage-key" \  -H "Content-Type: application/json" \  -d '{    "connection": {      "type": "aws"    },    "key_arn": "string"  }'
{  "connection": {    "type": "aws"  },  "created_at": "string",  "key_arn": "string",  "org_id": "string",  "updated_at": "string"}