Skip to content

Create or replace a tenant FLECS store configuration

PUT
/api/v1/system/flecs-stores/{organizationId}
curl --request PUT \
--url http://localhost:3000/api/v1/system/flecs-stores/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "storeId": 89, "enabled": false }'

Upserts the FLECS marketplace store configuration for an organization. The FLECS catalog endpoint is public and unauthenticated, so a store ID plus whether it is enabled is the entire configuration — no credentials are ever required or stored. Requires Super Admin privileges.

organizationId
required
string format: uuid

Organization UUID

Media type application/json
object
storeId
required

FLECS store ID. Acts as a catalog-visibility filter and, per FLECS, a mandatory anti-cross-tenant-pollution control. logiccloud is store 89. Note that a wrong store ID returns a plausible full catalog rather than an error.

number
>= 1
Example
89
enabled

Whether the store is active.

boolean
Example
false

Configuration saved

Media type application/json
object
id
required

Store configuration ID

string format: uuid
organizationId
required

Owning organization ID

string format: uuid
storeId
required

FLECS store ID

number
enabled
required

Whether the store is active

boolean
lastSyncAt

When the catalog was last synced (discovery phase)

string format: date-time
nullable
lastSyncError

Failure from the most recent discovery call (the store-id lookup itself). Does not reflect the outcome of the downstream OCI sync, which is tracked on the linked registry.

string
nullable
createdAt
required

Creation timestamp

string format: date-time
updatedAt
required

Last update timestamp

string format: date-time
Example
{
"storeId": 89,
"enabled": true
}

Invalid input — for example a missing or non-positive storeId

Unauthorized

Forbidden - requires Super Admin privileges