Enable Sippy
PUT/accounts/{account_id}/r2/buckets/{bucket_name}/sippy
Sets configuration for Sippy for an existing R2 bucket.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Path Parameters
Enable Sippy
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/r2/buckets/$BUCKET_NAME/sippy \
-X PUT \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-d '{}'{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
"string"
],
"result": {
"destination": {
"accessKeyId": "accessKeyId",
"account": "account",
"bucket": "bucket",
"provider": "r2"
},
"enabled": true,
"source": {
"bucket": "bucket",
"bucketUrl": "bucketUrl",
"provider": "aws",
"region": "region"
}
},
"success": true
}Returns Examples
{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
"string"
],
"result": {
"destination": {
"accessKeyId": "accessKeyId",
"account": "account",
"bucket": "bucket",
"provider": "r2"
},
"enabled": true,
"source": {
"bucket": "bucket",
"bucketUrl": "bucketUrl",
"provider": "aws",
"region": "region"
}
},
"success": true
}