# PartitionEmbeddingCredentialStackRequest

Sets the credential stack a partition embeds with, in place of the tenant's model keys and default stack. Null clears it, and the partition goes back to the tenant's default stack or model keys.

**Kind:** an object, used in requests.

## Fields

| Field | Type | Required | Description |
|---|---|---|---|
| `credentialStackId` | `uuid \| null` |  | The id of one of your credential stacks, or null to clear. |

## Example

```json
{
  "credentialStackId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
}
```

## Where it's used

- [`partitions.setEmbeddingCredentialStack`](https://docs.maitento.com/reference/api/partitions.md) (`PUT /partitions/by-id/{id}/embedding-credential-stack`)
