Governance Entities

Upsert entities

Changed on

Creates or updates entities in bulk for the given customer. Existing entities matched by id are updated; new ids are created.

put/api/v1-beta/customers/{id}/entities

Request

  • Base URL
    https://api.stigg.io
  • URL
    https://api.stigg.io/api/v1-beta/customers/{id}/entities
  • Auth
    API key in header X-API-KEY

Path parameters

idstring required

The customer identifier (owner) the entities belong to

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

The list of upserted entity objects.

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