PUT
/
v1
/
users
/
groups
/
bulk

Behavior

  • Transaction: If one group attribution is not parsable, we raise you an error and import nothing. You have to fix your payload and send it to us again. And if the answer is a success, it means that every group attribution you sent us have been upserted
  • Conflict Rule and upsert: Be careful, each user can only have one group by dimension for a given period. Given new attributions dates will override conflicting dates already present in Qobra. Also, if you send a payload with two groups attributions for the same user over the same period we’ll send you back an error.
  • Limit: you can’t update more than 200 group attributions at a time.
  • Error behavior: In case of any error, your group attributions wont be upserted

Authorizations

X-API-Key
string
headerrequired

Body

application/json
data
object[]
required

Response

200 - application/json
count
integer
required

Upserted groups attribution count

data
object[]
required

Array of upserted attributions