Loading

Add SLA Tiers to Existing Contracts for an API Instance

Publiceringsdatum: Sep 10, 2026
Beskrivning

After enabling a rate-limiting policy with SLA support on an API and creating SLA tiers, new contracts can have an SLA tier assigned successfully. However, for contracts that existed before the SLA policy was enabled, the API Manager UI shows no option to assign an SLA tier retroactively — no error is displayed, and the "Add SLA" option simply isn't available. Editing existing SLA tiers on those contracts still works, but adding a tier where none exists does not.

Lösning
Option 1 — Assign the SLA tier via the API Manager API (recommended, no need to revoke/recreate contracts):

Use the Anypoint Platform API Manager API (Exchange asset): API Manager API

  1. Get your Contract IDs (for contracts with no tier assigned):
    API Manager API
  2. Get your SLA Tier IDs:
    API Manager API
  3. Assign the tier to each affected contract:
    API Manager APIA 200 OK response confirms the tier is now assigned. Repeat steps 1–3 for each affected contract.


Option 2 — Via Anypoint UI (alternative, causes brief downtime for consumers of that contract):

Revoke and delete the existing contract, then recreate it from Exchange for the asset, selecting the desired SLA tier during contract creation.
Ytterligare resurser
  • No error message appears in the UI for this limitation — it's a design, not a bug
Knowledge-artikelnummer

005459594

 
Laddar
Salesforce Help | Article