Governance Assignments

Upsert assignments

Batched create-or-update of capability assignments. Existing assignments matched by (entityId, capabilityId) are updated; new pairs are created. On update, omitted fields (usageLimit, cadence) are preserved; on create both are required by the governance service.

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

Path parameters

idstring required

The customer identifier (owner) the assignments 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

Assignments after upsert.

Changes

Changed in 13 of the 115 revisions of this API.91221

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

      response-property-enum-value-added

    • added the new CreditOveragePriceCurrencyNotFound enum value to the response property for the response status

      response-property-enum-value-added

    • added the new InvalidCreditOverageBillingModel enum value to the response property for the response status

      response-property-enum-value-added

    • added the new InvoicePreviewNotAvailableForDraftContract enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OveragePriceNotSupportedOnAddon enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OveragePriceRequiresUsageLimit enum value to the response property for the response status

      response-property-enum-value-added

    • added the new GovernanceNotEnabled enum value to the response property for the response status

      response-property-enum-value-added

    • api tag Governance Assignments added

      api-tag-added

    • api tag Beta - Assignments removed

      api-tag-removed

  • d4132ca92ac3212See the full diff
    • removed the enum value MONTH of the request property //

      request-property-enum-value-removed

    • added the pattern ^(?:P[1-9]\d*[YMWD]|PT[1-9]\d*[HMS])$ to the request property //

      request-property-pattern-added

    • the // request property's maxLength was set to 255

      request-property-max-length-set

    • removed the MONTH enum value from the // response property for the response status

      response-property-enum-value-removed

    • the // response's property pattern ^(?:P[1-9]\d*[YMWD]|PT[1-9]\d*[HMS])$ was added for the status

      response-property-pattern-added

  • c7a9b61e90a411See the full diff
    • the response property // became nullable for the status

      response-property-became-nullable

    • the request property // became nullable

      request-property-became-nullable

  • de96c0c4633a55See the full diff
    • the // response property's minLength was decreased from 1 to 0 for the response status

      response-property-min-length-decreased

    • the // response property's minLength was decreased from 1 to 0 for the response status

      response-property-min-length-decreased

    • the // response property's minLength was decreased from 1 to 0 for the response status

      response-property-min-length-decreased

    • the // response property's minLength was decreased from 1 to 0 for the response status

      response-property-min-length-decreased

    • the /// response property's minLength was decreased from 1 to 0 for the response status

      response-property-min-length-decreased

    • the // response's property pattern ^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$ was removed for the status

      response-property-pattern-removed

    • the // response's property pattern ^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$ was removed for the status

      response-property-pattern-removed

    • the // response's property pattern ^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$ was removed for the status

      response-property-pattern-removed

    • the // response's property pattern ^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$ was removed for the status

      response-property-pattern-removed

    • the /// response's property pattern ^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$ was removed for the status

      response-property-pattern-removed

  • 2ecdbf877f12118See the full diff
    • removed the required property // from the response with the status

      response-required-property-removed

    • removed the request property //

      request-property-removed

    • added the new optional request property //

      new-optional-request-property

    • added the new optional request property //

      new-optional-request-property

    • added the new optional request property //

      new-optional-request-property

    • added the new optional request property //

      new-optional-request-property

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

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

      response-required-property-added

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

      response-required-property-added

    • added the new optional header request parameter X-ACCOUNT-ID

      new-optional-request-parameter

    • added the new optional header request parameter X-ENVIRONMENT-ID

      new-optional-request-parameter

    • added the new PricingModelNotSupportedByBillingIntegration enum value to the response property for the response status

      response-property-enum-value-added