---
title: "Close a strategy binding at the requested effective time"
description: "DELETE /admin/v1/plan-strategy-bindings/{bindingId} — Close a strategy binding at the requested effective time"
---

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

# Close a strategy binding at the requested effective time

## Endpoint

```http
DELETE /admin/v1/plan-strategy-bindings/{bindingId}
```

Operation ID: `closePlanStrategyBinding`

## Authentication

Send a Nexus Management Key as `Authorization: Bearer <management-key>`. This credential is control-plane only.

## Idempotency

This operation does not declare an `Idempotency-Key` requirement in the accepted OpenAPI contract.

## Request

### Parameters

| Name        | Location | Required | Schema   | Description |
| ----------- | -------- | -------- | -------- | ----------- |
| `bindingId` | path     | Yes      | `string` | —           |

### Body

_This operation has no request body._

## Responses

| Status | Description | Content type     | Schema                 |
| ------ | ----------- | ---------------- | ---------------------- |
| `200`  | —           | application/json | `OperationResponseDto` |

Only responses explicitly declared by the accepted Admin OpenAPI contract are shown. The current contract does not declare operation-specific error bodies; the SDK preserves any non-success status and body in [`AdminApiError`](/management-sdk/error-handling).

### `200` application/json schema

Type: `OperationResponseDto`

| Field         | Required | Type      | Description |
| ------------- | -------- | --------- | ----------- |
| `accepted`    | Yes      | `boolean` | —           |
| `operationId` | No       | `string`  | —           |

## Examples

### TypeScript Management SDK

`NexusAdminClient.closePlanStrategyBinding` uses `AdminOperationInput<"closePlanStrategyBinding">` and returns `Promise<AdminOperationOutput<"closePlanStrategyBinding">>`.

```ts
import { NexusAdminClient } from '@nexus/sdk-typescript';

const nexus = new NexusAdminClient({
  baseUrl: 'https://nexus.microvoid.io',
  managementKey: process.env.NEXUS_MANAGEMENT_KEY,
});

const result = await nexus.closePlanStrategyBinding({
  path: {
    bindingId: '533c4e1e-2823-4349-86b9-d6f1a869a2ca',
  },
});
```

### Fetch

```ts
const response = await fetch(
  'https://nexus.microvoid.io/admin/v1/plan-strategy-bindings/533c4e1e-2823-4349-86b9-d6f1a869a2ca',
  {
    method: 'DELETE',
    headers: {
      Authorization: `Bearer ${process.env.NEXUS_MANAGEMENT_KEY}`,
    },
  },
);

if (!response.ok) throw new Error(`Nexus request failed: ${response.status}`);
```

### curl

```bash
curl --request DELETE \
  "https://nexus.microvoid.io/admin/v1/plan-strategy-bindings/533c4e1e-2823-4349-86b9-d6f1a869a2ca" \
  --header "Authorization: Bearer ${NEXUS_MANAGEMENT_KEY}"
```

## Related guide

- [Workspace plans](/docs/control-plans-and-quota/workspace-plans)
- [API Reference overview](/api-reference)

Source: https://nexus.microvoid.io/api-reference/admin/plans-and-strategies/close-plan-strategy-binding/index.mdx
