Update AWS Private Connection
AWS Integration
Update AWS Private Connection
Modify an existing AWS S3 private connection configuration
PUT
Update AWS Private Connection
Documentation Index
Fetch the complete documentation index at: https://docs.pictory.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint allows you to update an existing AWS S3 private connection. You can modify the connection name, description, or enable/disable the connection without changing the AWS account ID or region.You need a valid API key to use this endpoint. Get your API key from the API Access page in your Pictory dashboard.
Use Cases
Rename Connection
Update the connection name for better organization
Update Description
Modify the description to reflect usage changes
Enable/Disable
Temporarily disable a connection without deleting it
Manage Settings
Update connection settings as your needs change
API Endpoint
Request Parameters
Path Parameters
The unique identifier of the AWS connection you want to update. This is the
connectionId value returned when you created the connection.Headers
API key for authentication (starts with Get your API key from the API Access page in your Pictory dashboard.
pictai_)Must be set to
application/jsonBody Parameters
Updated name for the AWS connectionExample:
"UpdatedConnectionName"Updated description of the AWS connectionExample:
"Updated connection description"Whether the connection should be active (
true) or disabled (false). If not provided, the existing value is preserved.Example: trueThe current version number of the connection (for optimistic locking). This prevents concurrent updates from overwriting each other. Get the current version from the Get Connection by ID endpoint.Example:
1Response
Returns the updated AWS connection object. Theversion number is incremented with each successful update. Note that awsAccountId, awsRegion, and connectionId cannot be changed.
Response Examples
Code Examples
Common Use Cases
Rename a Connection
Temporarily Disable a Connection
Re-enable a Disabled Connection
Update Description Only
Error Handling
404 Not Found
404 Not Found
Cause: The connection ID does not exist or has been deletedSolution:
- Verify the connection ID is correct
- Use the Get AWS Connections endpoint to list all available connections
- Check if the connection was deleted
401 Unauthorized
401 Unauthorized
400 Bad Request - Missing Required Fields
400 Bad Request - Missing Required Fields
Cause: Required fields are missing from the request bodySolution:
- Ensure both
nameandversionfields are included - Verify the request body is valid JSON
- The
enabledfield is optional - if omitted, the existing value is preserved
400 Bad Request - Invalid Field Values
400 Bad Request - Invalid Field Values
Cause: Field values do not meet validation requirementsSolution:
namemust be a non-empty string (required)versionmust be a positive integer (required)enabledmust be a boolean value (trueorfalse) if provided (optional)descriptionshould be a string if provided (optional)- Do NOT include
awsRegionorawsAccountIdin the request - these fields cannot be changed
409 Conflict - Version Mismatch
409 Conflict - Version Mismatch
Cause: The version number you provided does not match the current version (someone else updated the connection)Solution:
- Get the latest connection details using the Get Connection by ID endpoint
- Use the current
versionnumber from that response - Retry your update request with the new version number
403 Forbidden
403 Forbidden
Cause: You do not have permission to update this connectionSolution:
- Verify the connection belongs to your account
- Check that your API key has the necessary permissions
- Contact support if you believe you should have access
Important Notes
Version TrackingEach successful update increments the
version number of the connection. This helps track configuration changes over time.Next Steps
List All Connections
Retrieve all your AWS S3 private connections
Get Connection Details
Get details of a specific connection before updating
Get API Key
Access your API key from your Pictory dashboard
Delete Connection
Permanently delete an AWS connection
