---
title: "SDK: release"
description: "The release methods of the Overlane TypeScript SDK, with their signatures. Generated from the SDK types."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.overlane.app/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK: release

{/* Generated by apps/docs/scripts/generate.mjs (SDK pages from the TypeScript types in packages/sdk). Do not edit; run `pnpm --filter @overlane/docs gen`. */}

The `release` area has 2 methods on the client. Each takes one object of path, query and body arguments and an optional `CallOptions`, and returns a promise of the response body. A refused call rejects with `OverlaneApiError` (see the [SDK index](/sdk/)).

## releasePin

Pin a project to a release (release class)

- Request: `PUT` on `/v1/tenants/{tenantId}/projects/{projectId}/release`
- Needs an approval for agents: class `release_promotion`

```ts
releasePin(args: { tenantId: string; projectId: string; body: PinReleaseRequest }, options?: CallOptions): Promise<Record<string, unknown>>
```

## releaseRollback

Roll a project back to its previous release (release class)

- Request: `POST` on `/v1/tenants/{tenantId}/projects/{projectId}/release/rollback`
- Needs an approval for agents: class `release_promotion`

```ts
releaseRollback(args: { tenantId: string; projectId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>
```

Source: https://docs.overlane.app/sdk/release/index.mdx
