curl --request PATCH \
--url http://localhost/api/api/buckets/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"active_indicator": true,
"description": "<string>",
"rule_id": 123,
"rule_setting": {},
"activate_rule": true
}
'{
"bucket_rules": [
{}
],
"rule_id": 123,
"rule_setting": {},
"activate_rule": true,
"last_timestamp": "<string>",
"modified_by": {
"id": 123
},
"created_by": {
"id": 123
}
}Update a bucket by its ID.
curl --request PATCH \
--url http://localhost/api/api/buckets/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"active_indicator": true,
"description": "<string>",
"rule_id": 123,
"rule_setting": {},
"activate_rule": true
}
'{
"bucket_rules": [
{}
],
"rule_id": 123,
"rule_setting": {},
"activate_rule": true,
"last_timestamp": "<string>",
"modified_by": {
"id": 123
},
"created_by": {
"id": 123
}
}JWT token obtained from AWS Cognito or custom authentication service
A unique integer value identifying this bucket.
Bucket updated successfully.