---
title: "Create Datadog marketplace agreement in the subscription."
method: PUT
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Datadog/agreements/default"
---

# Create Datadog marketplace agreement in the subscription.

`PUT /subscriptions/{subscriptionId}/providers/Microsoft.Datadog/agreements/default`

Create Datadog marketplace agreement in the subscription.

## Parameters

- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Request body

- DatadogAgreementResource
  - `id` string — ARM id of the resource.
  - `name` string — Name of the agreement.
  - `type` string — The type of the resource.
  - `properties` DatadogAgreementProperties — Terms properties.
    - `publisher` string — Publisher identifier string.
    - `product` string — Product identifier string.
    - `plan` string — Plan identifier string.
    - `licenseTextLink` string — Link to HTML with Microsoft and Publisher terms.
    - `privacyPolicyLink` string — Link to the privacy policy of the publisher.
    - `retrieveDatetime` string, date-time — Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.
    - `signature` string — Terms signature.
    - `accepted` boolean — If any version of the terms have been accepted, otherwise false.
  - `systemData` SystemData — unresolved $ref

## Response `200`

The request has succeeded.

- DatadogAgreementResource
  - `id` string — ARM id of the resource.
  - `name` string — Name of the agreement.
  - `type` string — The type of the resource.
  - `properties` DatadogAgreementProperties — Terms properties.
    - `publisher` string — Publisher identifier string.
    - `product` string — Product identifier string.
    - `plan` string — Plan identifier string.
    - `licenseTextLink` string — Link to HTML with Microsoft and Publisher terms.
    - `privacyPolicyLink` string — Link to the privacy policy of the publisher.
    - `retrieveDatetime` string, date-time — Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.
    - `signature` string — Terms signature.
    - `accepted` boolean — If any version of the terms have been accepted, otherwise false.
  - `systemData` SystemData — unresolved $ref

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2020-02-01-preview) `c417b24591ef` — 1 breaking
  - added the new path request parameter `subscriptionId`
- **2026-07-13** (2020-02-01-preview) `de8da79b12b4` — 1 warning
  - deleted the `path` request parameter `subscriptionId`
- **2021-02-17** (2020-02-01-preview) `0e9e6b911de2` — 1 info
  - api operation id `MarketplaceAgreements_Create` removed and replaced with `MarketplaceAgreements_CreateOrUpdate`
- **2020-11-10** (2020-02-01-preview) `c26c5e613b29` — 1 info
  - endpoint added
- **2020-10-06** (2020-02-01-preview) `9e012a33873a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/datadog-microsoft-datadog/changes/subscriptions/:subscriptionId/providers/Microsoft.Datadog/agreements/default/put.md)

---

[API](https://skmtc.dev/azure/apis/datadog-microsoft-datadog.md) · [All operations](https://skmtc.dev/azure/apis/datadog-microsoft-datadog/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/datadog-microsoft-datadog/revisions/4f187e8bb607/schema)
