diff --git a/clients/packages/api/src/client/apis/WebhooksApi.ts b/clients/packages/api/src/client/apis/WebhooksApi.ts index 2ccfad9d52..f80dae4004 100644 --- a/clients/packages/api/src/client/apis/WebhooksApi.ts +++ b/clients/packages/api/src/client/apis/WebhooksApi.ts @@ -45,7 +45,6 @@ export interface WebhooksApiListWebhookDeliveriesRequest { export interface WebhooksApiListWebhookEndpointsRequest { organizationId?: string | null; - userId?: string | null; page?: number; limit?: number; } @@ -254,10 +253,6 @@ export class WebhooksApi extends runtime.BaseAPI { queryParameters['organization_id'] = requestParameters['organizationId']; } - if (requestParameters['userId'] != null) { - queryParameters['user_id'] = requestParameters['userId']; - } - if (requestParameters['page'] != null) { queryParameters['page'] = requestParameters['page']; } diff --git a/clients/packages/api/src/client/models/index.ts b/clients/packages/api/src/client/models/index.ts index 34d42fe86f..71e4c16fc2 100644 --- a/clients/packages/api/src/client/models/index.ts +++ b/clients/packages/api/src/client/models/index.ts @@ -22195,17 +22195,11 @@ export interface WebhookEndpoint { */ format: WebhookFormat; /** - * - * @type {string} - * @memberof WebhookEndpoint - */ - user_id?: string | null; - /** - * + * The organization ID associated with the webhook endpoint. * @type {string} * @memberof WebhookEndpoint */ - organization_id?: string | null; + organization_id: string; /** * The events that will trigger the webhook. * @type {Array}