Create a new secret in a workspace
cURL
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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Workspace ID
Organization ID
Secret object
The body is of type object.
object
Created
The response is of type object.
Was this page helpful?