Delete
Delete
client.organizations.users.delete(stringuserID, UserDeleteParams { organization_id, xClientRequestID } params, RequestOptionsoptions?): void
DELETE/organizations/{organization_id}/users/{user_id}
Remove a user from an organization
Parameters
userID: string
Identifier for API resources. A 26-char nanoid (URL/DNS safe).
minLength1
maxLength255
Delete
import KeycardAPI from '@keycardai/api';
const client = new KeycardAPI();
await client.organizations.users.delete('ab3def8hij2klm9opq5rst7uvw', { organization_id: 'x' });