---
title: "Publish Application SDK"
method: PUT
path: "/api/cmp/v1/applications/{id}/publish"
tags: ["Scripts"]
---

# Publish Application SDK

`PUT /api/cmp/v1/applications/{id}/publish`

Use this API to publish the script configuration options for the specified application.

## Path parameters

- `id` string, uuid, required

## Request body

- PublishGeolocationRuleRequestApplicationPublicDto
  - `publishVersion` string — Version to publish, by default the lastest version will be used.
  - `production` boolean — Publish a test (false) or production (true)
  - `publishType` 'PUBLISHERS' | 'HEADLESS' | 'UNITY' | 'ROKU' | 'XAMARIN' | 'SAMSUNGTV' | 'LGTV' | 'VIZIOTV' | 'HBBTV' | 'PANASONICTV' | 'PS5' | 'YOUVIEW' — The type of SDK being published
  - `requireReconsent` boolean — If users will be required to reconsent once this update is published
  - `langCodes` string[] — Languages to publish in, by default all languages will be published.
  - `regionRules` PublishRegionRuleDto[] — Individual geolocation rules
    - `ruleId` string, uuid — Unique identifier of the geo rule.
    - `ruleName` string — Name of a Geolocation rule

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
