---
title: "POST /v1/{+name}:approve"
method: POST
path: "/v1/{+name}:approve"
tags: ["providers"]
---

# POST /v1/{+name}:approve

`POST /v1/{+name}:approve`

Approves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to approve the creation of the entitlement resource.

## Path parameters

- `name` string, required

## Request body

- ApproveEntitlementRequest — Request message for [PartnerProcurementService.ApproveEntitlement[].
  - `properties` object — Set of properties that should be associated with the entitlement. Optional.
  - `entitlementMigrated` string — Optional. The resource name of the entitlement that was migrated, with the format `providers/{provider_id}/entitlements/{entitlement_id}`. Should only be sent when resources have been migrated from entitlement_migrated to the new entitlement. Optional.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/cloudcommerceprocurement.md) · [All operations](https://skmtc.dev/google/apis/cloudcommerceprocurement/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/cloudcommerceprocurement/revisions/befd110611b0/schema)
