`GET /v1/app/instances/customer-mode`
GET/v1/app/instances/customer-mode
M2M-only service surface: the sign-up closure provisioning (Sentin8:
Auth) calls this with its own workload token to learn which
sentin8:app:{instance_id} groups a new customer should join.
Authorization (fail-closed, three gates):
- Bearer verify + M2M-only (
token_tp == "m2m") - this is a service-to-service discovery surface, never a user surface. - Shield gate on
sentin8:app:instances:read. - Owner scoping: the caller's
service_typeclaim must resolve to an instance of THIS app service's own domain - answered only for envs in an org where app is enabled; the query itself stays env-scoped so a foreign env is an indistinguishable empty result (no tenant-existence oracle).
?env_id=… - enumerate the customer-mode (allow_signup) instances installed in an env (auth DESIGN invariant 12: the owner-API replacement for auth's retired direct read of sys.app_instances`).
Request
Responses
- 200
- 400
- 403
Customer-mode instances in the env
Missing env_id
Missing app:instances:read scope or non-M2M token