Managing Cloud Infrastructure and Portal Updates

Using Cloud Portal API Enhancements

Objective

After completing this lesson, you will be able to describe Cloud Portal API enhancements, including the bulk endpoint update API, user role management API, and enhanced hibernation automation API

Bulk Endpoint Update API

A new PATCH operation — PATCH /v2/subscriptions/{subscriptionCode}/environments/{environmentCode}/endpoints — allows multiple environment endpoints to be updated in a single API call, replacing the previous one-at-a-time approach. All endpoint codes in the request are validated before any modifications are applied; if any endpoint code does not exist, the entire request is rejected with a clear error identifying the missing codes — no partial updates occur.

Update your CI/CD pipelines and scripts to use the new bulk operation where multiple endpoints are updated during deployments. Ensure your scripts handle the all-or-nothing validation response correctly.

updateEndpoints API

Public API for User Role Management

The new userroleassignments API family enables programmatic management of user role assignments for SAP Commerce Cloud environments, replacing the previous manual-only UI workflow. The API follows standard Cloud Portal API authentication (Technical User) — use getRoles to inspect current assignments and the corresponding write operations (get, post, patch, delete) to manage UserRoleAssignments.

Integrate the userroleassignments API into your identity governance or onboarding automation. Refer to the full API documentation for available operations:

User Role Assignments — getRoles

Enhanced Hibernation Automation API

The hibernation automation API has been updated with a new getServices endpoint that exposes infrastructure readiness telemetry, and the getEnvironments response now includes a hibernationStatus field. getServices returns telemetry indicating whether infrastructure is ready for wake-up operations, allowing automation to poll readiness before proceeding. Role-based access control has also been tightened for these endpoints.

Update hibernation automation scripts to use getServices for readiness polling and hibernationStatus from getEnvironments for state checks. Remove any dependencies on legacy API patterns that these endpoints replace.

getServices — Infrastructure Readiness Telemetry

getEnvironments — hibernationStatus

Lesson Summary

  • The bulk endpoint update API allows multiple endpoints to be updated in a single PATCH call with all-or-nothing validation.
  • The userroleassignments API enables programmatic user role management, replacing manual-only UI workflows.
  • The enhanced hibernation automation API adds infrastructure readiness telemetry and a hibernationStatus field for reliable automated hibernation workflows.