| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/api/resources/pipelines/methods/create_v1 | [Back] [Original] |
Create a new Pipeline.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYThe previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194Pipelines Writecurl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/pipelines/v1/pipelines \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-d '{
"name": "my_pipeline",
"sql": "insert into sink select * from source;"
}'{
"result": {
"id": "01234567890123457689012345678901",
"created_at": "created_at",
"modified_at": "modified_at",
"name": "my_pipeline",
"sql": "insert into sink select * from source;",
"status": "status"
},
"success": true
}{
"result": {
"id": "01234567890123457689012345678901",
"created_at": "created_at",
"modified_at": "modified_at",
"name": "my_pipeline",
"sql": "insert into sink select * from source;",
"status": "status"
},
"success": true
}| Web Proxy Viewer | New URL | Original Page |