put__apikeys_{uuid}
Update an existing provider API key in your workspace.
Request
Path Parameters
Field
Type
Required
Description
Request Body (UpdateProviderApiKeyRequest)
Field
Type
Required
Description
Request Example
curl -X PUT "https://backend.flashback.tech/apikeys/your-api-key-uuid" \
-H "Authorization: Bearer <your-session-token>" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "s3.us-west-2.amazonaws.com",
"region": "us-west-2"
}'const response = await fetch("https://backend.flashback.tech/apikeys/your-api-key-uuid", {
method: 'PUT',
headers: {
'Authorization': 'Bearer <your-session-token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
endpoint: "s3.us-west-2.amazonaws.com",
region: "us-west-2"
})
});
const data = await response.json();
console.log(data);import requests
url = "https://backend.flashback.tech/apikeys/your-api-key-uuid"
headers = {
"Authorization": "Bearer <your-session-token>",
"Content-Type": "application/json"
}
payload = {
"endpoint": "s3.us-west-2.amazonaws.com",
"region": "us-west-2"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())Response
Response Fields (UpdateProviderApiKeyResponse)
Field
Type
Description
Response Example (200 OK)
Error Responses
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error
Last updated
Was this helpful?