Skip to main content
PATCH
Patch a bucket

Description

Update a bucket using the bucketId set in the url.

Payload

  • aggregations: Object containing question options to aggregate. Optional.
  • projectId: Id of the project. Optional.

Response

200 OK

where:
  • createdAt: Creation date for the bucket with the format YYYY-MM-DDTHH:mm:ss.SSSZ.
  • updatedAt: Last update date for the bucket with the format YYYY-MM-DDTHH:mm:ss.SSSZ.
  • aggregations: Object containing question options to aggregate.
  • questionId: Id of the question to aggregate.
  • projectId: Id of the project.
  • id: Bucket Id.

401 Unauthorized

The user doesn’t have permissions.

500 Internal Server Error

Error occurred while processing the request.

Authorizations

Authorization
string
header
required

Access token obtained from the m2m-token endpoint.

Headers

Authorization
string
required

Authorization token

Body

application/json

The body is of type object.

Response

Patch a bucket

The response is of type object.