Update Vimeo Connection
Vimeo Integration
Update Vimeo Connection
Update an existing Vimeo connection configuration
PUT
Update Vimeo 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
Update an existing Vimeo connection configuration including name, description, enabled status, and authentication credentials. The version number must be provided to prevent concurrent modification conflicts. When updating the connection name, it must remain unique within your account.You need a valid API key to use this endpoint. Get your API key from the API Access page in your Pictory dashboard.
API Endpoint
Request Parameters
Headers
API key for authentication (starts with
pictai_)Path Parameters
The unique identifier of the Vimeo connection to updateExample:
"20251222155613307xv0nodhitf9cd0f"Body Parameters
Current version number of the connection. Must match the version in the database to prevent conflicts from concurrent updates. Update fails if the version does not match.Example:
1Updated display name for the Vimeo connection. Must be unique within your account and can only contain letters, numbers, spaces, underscores, and hyphens.Maximum length: 100 charactersExample:
"Updated Vimeo Account"Updated description explaining the connection’s purpose or usage.Maximum length: 250 charactersExample:
"Updated description for marketing videos"Whether the connection should be active. Set to
true to enable, or false to disable. Disabling prevents usage but retains all configuration.Example: falseUpdated Vimeo application Client ID from your Vimeo app settings. Changes which Vimeo application this connection uses for authentication.Maximum length: 500 charactersExample:
"updated_client_id_123"Updated Vimeo application client secret from your app settings. Use this to rotate credentials. Keep this value secure.Maximum length: 500 charactersExample:
"updated_secret_xyz789"Updated Vimeo access token for API authentication. Use this to refresh or change the token when it expires or when changing permissions scope.Maximum length: 500 charactersExample:
"updated_token_1234567890abcdef"Response
Returns the updated Vimeo connection object with all current configuration details. Theversion number is automatically incremented with each successful update for optimistic locking. The response includes connectionId, name, description, clientIdentifier, type, enabled status, and timestamps. For security, sensitive credentials (clientSecret and accessToken) are never returned in API responses - you will only see the clientIdentifier.
Response Examples
Code Examples
Optimistic Locking
This endpoint uses optimistic locking to prevent conflicts from concurrent updates:- Get Current Version: Retrieve the connection using the Get Vimeo Connection by ID endpoint to get the current version number
- Include Version: Include the current
versionnumber in your update request - Version Check: The API verifies the version matches before applying changes
- Version Increment: On successful update, the version number is automatically incremented
- Conflict Handling: If another update occurred between your GET and PUT requests, the version will not match and the update fails
Error Handling
400 Bad Request - Missing Version Field
400 Bad Request - Missing Version Field
Cause: The required
version field is missing from the request bodySolution:- Always include the current
versionnumber in your update request - Get the current version using the Get Vimeo Connection by ID endpoint
- The
versionfield is required for optimistic locking to prevent concurrent update conflicts
400 Bad Request - Duplicate Connection Name
400 Bad Request - Duplicate Connection Name
Cause: A connection with the specified name already exists in your accountSolution:
- Choose a unique name for your connection
- Keep the current name if you are only updating other fields
- Use the Get Vimeo Connections endpoint to see existing connection names
400 Bad Request - Version Conflict
400 Bad Request - Version Conflict
Cause: The version number does not match the current version (someone else updated the connection)Solution:
- Get the latest connection details using the Get Vimeo Connection by ID endpoint
- Use the current
versionnumber from that response - Review the changes made by the other update before proceeding
- Retry your update request with the new version number
401 Unauthorized
401 Unauthorized
404 Not Found
404 Not Found
Cause: The connection ID does not exist or you do not have access to itSolution:
- Verify the connection ID is correct and complete
- Ensure the connection belongs to your account
- Check if the connection has been deleted
- Connection IDs are case-sensitive - confirm the exact casing
- Use the Get Vimeo Connections endpoint to list all your connections
Update Strategies
Partial Updates
Only include theversion field and the fields you want to update. All other fields remain unchanged.
Example - Update only description:
Full Updates
Update multiple fields in a single request: Example - Update multiple fields:Credential Rotation
When rotating Vimeo credentials (client secret or access token):- Obtain new credentials from the Vimeo Developer Portal
- Get the current version of the connection
- Update with the new credentials and current version
- Test the connection to ensure the new credentials work
- Revoke the old credentials in Vimeo if needed
