API Stability Long-Term

The findOrCreateBucketStorageEntity() GraphQL mutation may be used to set the primary bucket target for the organization.

Syntax

Below is the syntax for the findOrCreateBucketStorageEntity() mutation field:

graphql
findOrCreateBucketStorageEntity(
      organizationId: string!
   ): integer!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  findOrCreateBucketStorageEntity (
    organizationId: "SINGLE_ORGANIZATION_ID"
    )
}
Example Responses
Show:
json
{
  "data": {
    "findOrCreateBucketStorageEntity": 2
  }
}