APIM Self-Service - Onboard APIs Faster Across Defra

A standardised, automated approach that enables delivery teams to onboard and deploy APIs into Defra’s shared APIM platform quickly, safely, and with built-in governance.

Overview – What is APIM Self-Service?

APIM Self-Service is an automated and standardised way for delivery teams to onboard, manage, and deploy APIs into Defra’s central Azure API Management (APIM) instance without manual DevOps or ICC intervention.

It is a Platform Engineering capability that provides teams with:

In short: Delivery teams control their API lifecycle, while the platform automatically enforces governance. This allows Defra to safely scale API adoption across departments.

Why Self-Service?

Before self-service, onboarding an API required significant manual activity, including:

As APIM usage grew, this approach became slow, risky, and unscalable. Self-service was introduced to:

APIM Self-Service is a foundational capability of Defra’s Internal Developer Platform (IDP).

How Automation Helps

APIM Self-Service is powered by: GitHub automation + API scaffolding + Azure DevOps pipelines + Git subtree sync. Together, these automate almost every step of API onboarding and deployment.

Automated Repository Scaffolding (GitHub Action)

When a developer completes input.json and runs the scaffolding workflow:

This guarantees every API meets Defra APIM standards before any deployment occurs.

Automated Validation (GitHub Checks)

Every change is validated automatically, including:

This prevents incomplete or invalid APIs being merged or deployed.

Automated Deployment (Azure DevOps Pipelines)

Develop branch (recommended for non-prod):

Master branch:

This ensures deployments are controlled, auditable, and repeatable.

Git Subtree Sync (Team Repos → Central Repo)

Self-service removes the historic “central repo bottleneck”. Automation:

This provides a clear audit trail, full visibility of deployment status, and clean separation between team changes and platform publishing.

Protected Shared APIM Instance

Platform guardrails ensure:

This ensures one misconfigured API cannot impact the shared platform.

Who Owns What?

APIM Self-Service is based on clear ownership boundaries between delivery teams and the platform. This ensures teams have autonomy while maintaining platform stability and governance.

API Delivery Teams (Principal Developers / Product Teams)

Delivery teams own the API itself and are responsible for:

Platform Engineering (Self-Service Platform Owners)

Platform Engineering owns the self-service framework and automation, including:

ICC / APIM Operations Team

The ICC / APIM Operations team owns the shared APIM service and production governance, including:

Governance Overview

Area Owned By
API specification & business logicDelivery Teams
API policies & rate limitsDelivery Teams
Repository changes & PRsDelivery Teams
Onboarding automation & pipelinesPlatform Engineering
Platform standards & guardrailsPlatform Engineering
Central APIM stabilityICC / APIM Ops
Production promotion approvalsICC / Governance

Key Principle: Self-service does not remove governance, it automates it. Ownership is distributed, but responsibility is explicit.

References