Governance Entity Types

Upsert entity types

Changed on

Batched create-or-update of entity types. Existing types matched by id are updated; new ids are created. Idempotent — re-submitting the same payload converges to the same state.

put/api/v1-beta/entity-types

Request

  • Base URL
    https://api.stigg.io
  • URL
    https://api.stigg.io/api/v1-beta/entity-types
  • Auth
    API key in header X-API-KEY

Headers

X-ACCOUNT-IDstring

Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.

X-ENVIRONMENT-IDstring

Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).

Request body

Response

Entity types after upsert.

Changes

    • info

      added the new optional request property //

    • info

      added the required property // to the response with the status

    • warning

      added the new ContractNotFound enum value to the response property for the response status