Skip to main content
POST
/
elimination.EliminationAnalyser
/
UpdateEliminationBucket
Update elimination bucket
curl --request POST \
  --url https://api.example.com/elimination.EliminationAnalyser/UpdateEliminationBucket \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-profile-id: <x-profile-id>' \
  --header 'x-tenant-id: <x-tenant-id>' \
  --data '
{
  "id": "merchant1",
  "params": "card",
  "labels_with_bucket_name": [
    {
      "label": "stripe",
      "bucket_name": "bucket1"
    }
  ],
  "config": {
    "bucket_size": 5,
    "bucket_leak_interval_in_secs": 10
  }
}
'
{
  "status": "BUCKET_UPDATION_SUCCEEDED"
}

Headers

x-tenant-id
string
required
x-profile-id
string
required
x-api-key
string
required

Body

application/json
id
string
required

Entity identifier

Example:

"merchant1"

labels_with_bucket_name
object[]
required
Example:
[
{
"label": "stripe",
"bucket_name": "processor_decline"
}
]
config
object
required
params
string

Additional parameters

Example:

"card"

Response

Bucket updated successfully

status
enum<string>
required

Status of the update operation

Available options:
BUCKET_UPDATION_SUCCEEDED,
BUCKET_UPDATION_FAILED