attribution-plugins
Remove an AI Gateway's attribution plugin
Changed onRemoves the attribution plugin from an AI Gateway: the global policy that turns it on, the custom policy that holds it, and the installation. The gateway's requests stop getting the plugin's tags. The request writes through the AI Gateway API as the caller, so the caller also needs the AI Gateways Admin role on the gateway, and a policy that is already gone counts as removed.
If the gateway has no installation, or the identifier isn't a valid ID, the request fails with 404. This includes removing the plugin again. If another change to the gateway's plugin is running, the request fails with 409 and changes nothing. Repeat it once that change has finished.
delete/v1/ai-cost-management/ai-gateways/{gatewayId}/attribution-plugin
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
gatewayIdstring uuid required
The ID of the AI Gateway.
Response
The plugin was removed.
Changes
- info
endpoint added
- info