diagrid call bindings put
Send PUT request to an output binding
Description
Send a PUT request to an output binding using the Bindings API. Supported operations differ by component target.
diagrid call bindings put [flags]
Examples
# Make a PUT request to an output binding, performing the create operation and providing data and metadata
diagrid call bindings put -—component my-binding --app-id my-appid --operation create --data '{"orderId": 1}' --metadata key=1
Options
-a, --app-id string [Required]: Caller App ID
-c, --component string [Required]: Component name for target output binding
--operation string [Required]: The operation to perform. Operation support varies by component target.
-p, --project string Name of existing project
-d, --data string The JSON serialized data string
--metadata stringArray Payload metadata (e.g. --metadata key1=redis-key-1)
--output string Output format, supported [table, yaml, json] (default "table")
--verbose Include verbose output such as curl command and response body
-h, --help help for put
Options inherited from parent commands
--api-key string Diagrid Cloud API key
SEE ALSO
- diagrid call bindings - Call Bindings API