Delete an identity. This will not revoke the keys associated with the identity.
Copy
Ask AI
const { result, error } = await unkey.identities.delete({ identityId: "id_1234"});if (error) { // handle potential network or bad request error // a link to our docs will be in the `error.docs` field console.error(error.message); return;}console.log(result);
Copy
Ask AI
{ "result": {}}
Copy
Ask AI
const { result, error } = await unkey.identities.delete({ identityId: "id_1234"});if (error) { // handle potential network or bad request error // a link to our docs will be in the `error.docs` field console.error(error.message); return;}console.log(result);
const { result, error } = await unkey.identities.delete({ identityId: "id_1234"});if (error) { // handle potential network or bad request error // a link to our docs will be in the `error.docs` field console.error(error.message); return;}console.log(result);
Copy
Ask AI
{ "result": {}}
Assistant
Responses are generated using AI and may contain mistakes.