Skip to content

Commit

Permalink
chore: update sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Jan 29, 2025
1 parent 3b3ec07 commit 18c12c2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/dirty-sloths-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": minor
---

feat: permanently delete keys & identity migration
15 changes: 13 additions & 2 deletions packages/api/src/openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,11 @@ export interface operations {
* @example key_1234
*/
keyId: string;
/**
* @description By default Unkey soft deletes keys, so they may be recovered later. If you want to permanently delete it, set permanent=true. This might be necessary if you run into NOT_UNIQUE errors during key migration.
* @default false
*/
permanent?: boolean;
};
};
};
Expand Down Expand Up @@ -3065,11 +3070,17 @@ export interface operations {
*/
start?: string;
/**
* @description Your user’s Id. This will provide a link between Unkey and your customer record.
* When validating a key, we will return this back to you, so you can clearly identify your user from their api key.
* @deprecated
* @description Deprecated, use `externalId`
* @example team_123
*/
ownerId?: string;
/**
* @description Your user’s Id. This will provide a link between Unkey and your customer record.
* When validating a key, we will return this back to you, so you can clearly identify your user from their api key.
* @example user_123
*/
externalId?: string;
/**
* @description This is a place for dynamic meta data, anything that feels useful for you should go here
* @example {
Expand Down

0 comments on commit 18c12c2

Please sign in to comment.