Admin

Apply declarative authorization manifest

Apply a declarative manifest describing the project's full authorization surface (tables, views, RPCs). Idempotent: applying the same manifest twice is a no-op. Applying a new manifest converges state — policies, grants, triggers, and views no longer in the manifest are dropped. Lifecycle-gated for non-active projects. The same manifest can also be shipped inline as database.expose on a POST /apply/v1/plans request.

post/projects/v1/admin/{project_id}/expose

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/projects/v1/admin/{project_id}/expose
  • Auth: HTTP bearer

Path parameters

project_idstring required

Run402 project ID. Public IDs are not UUIDs.

Example:prj_1741340000_0042

Request body

version'1' required

Response

Manifest applied

statusstring
project_idstring

Run402 project ID. Public IDs are not UUIDs.

Example response

{
  "status": "ok",
  "project_id": "prj_1741340000_0042"
}

Changes

No recorded changes to this operation across all 1 revision of this API.