Skip to content

WebhooksResource

type WebhooksResource =
| {
applicationKey: string;
type: "application";
}
| {
name: string;
type: "event-type";
}
| {
applicationKey: string;
endpointId: string;
type: "endpoint";
}
| {
applicationKey: string;
messageId?: string;
type: "message";
}
| {
applicationKey: string;
deliveryId?: string;
type: "delivery";
}
| {
applicationKey?: string;
type: "audit";
};

Defined in: src/authorization/contract.ts:40

The resource an action targets.