Remove credentials for an S3 source
curl --request DELETE \
--url https://app.hookie.ai/admin/api/data-workspace/pipelines/{pipeline_id}/s3 \
--header 'Content-Type: application/json' \
--data '
{
"bucket": "<string>",
"region": "<string>",
"prefix": "<string>"
}
'const options = {
method: 'DELETE',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({bucket: '<string>', region: '<string>', prefix: '<string>'})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/pipelines/{pipeline_id}/s3', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/pipelines/{pipeline_id}/s3"
payload = {
"bucket": "<string>",
"region": "<string>",
"prefix": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){}Data workspace
Remove credentials for an S3 source
Requires write access. Removes the stored credentials for the source named by bucket, region and prefix; syncs of it then fail until new ones are set. Documents already ingested stay.
DELETE
/
admin
/
api
/
data-workspace
/
pipelines
/
{pipeline_id}
/
s3
Remove credentials for an S3 source
curl --request DELETE \
--url https://app.hookie.ai/admin/api/data-workspace/pipelines/{pipeline_id}/s3 \
--header 'Content-Type: application/json' \
--data '
{
"bucket": "<string>",
"region": "<string>",
"prefix": "<string>"
}
'const options = {
method: 'DELETE',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({bucket: '<string>', region: '<string>', prefix: '<string>'})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/pipelines/{pipeline_id}/s3', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/pipelines/{pipeline_id}/s3"
payload = {
"bucket": "<string>",
"region": "<string>",
"prefix": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){}