Set public vs restricted visibility (marketplace demo)
Immediately sets visibility for an approved published marketplace demo. Send publicly_published true for global visibility, or false with allowed_orgs as the full replacement restricted allow-list (requesting org is always included; omit or [] for requesting-org-only). Must not send a non-empty allowed_orgs when publicly_published is true. For restricted visibility, optional preview lists the demo for all authenticated users while provisioning stays allow-list gated (omitted preview keeps the current value). Set publish_images to true to publish referenced images owned by the demo’s organization when needed to cover the target audience. Allow-list and preview changes reconcile open access requests (grant matching orgs; close remaining REQUESTED rows when turning preview off; close REQUESTED and GRANTED rows when elevating to public).
Required scopes (any one):
air:admin(roles:air_admin)air:sre(roles:air_sre)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
true makes the marketplace demo globally visible; false keeps it restricted to the effective allow-list.
When true, list the restricted demo for all authenticated users while provisioning stays allow-list gated. Only accepted when publishing as restricted (not public). When omitted for restricted visibility, the current preview setting is preserved.
Set to true to publish referenced images owned by the demo organization when they do not cover the demo’s target audience.
When publicly_published is false, full replacement allow-list as org UUIDs. The requesting org is always included in the effective list. Omit or send [] for requesting-org-only access. Must be omitted or empty when publicly_published is true.
Response
Human-readable name of the org that submitted this record.
Current status of the publish access record.
PENDING- PendingAPPROVED- ApprovedDENIED- DeniedREMOVED- RemovedCANCELLED- CancelledPENDING_ELEVATION- Pending ElevationPENDING_RESTRICTION- Pending RestrictionPENDING_UNPUBLISH- Pending UnpublishPENDING_ALLOWLIST- Pending Allow List ChangeAPPROVED_PENDING_IMAGE_PUBLISH- Approved Pending Image Publish
Whether the resource is published to all users (public) vs restricted to the allow-list. Set by the community manager at approval time. This is the single source of truth for public vs restricted visibility.
Whether this demo is allowed to be previewed: all authenticated users can list and retrieve it, but only allow-listed organizations may provision. Preview requires restricted (non-public) publishing.
Optional text from the requester explaining who/why to share.
Free-text hint from the requester describing which orgs should have access for restricted publishing. Not the authoritative allow list.
When a community manager or privileged actor last reviewed the current or most recent request (approve, deny, or immediate visibility change).