WorkOS PHP SDK

UpdateWebhookEndpoint
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$endpointUrl  : string|null
The HTTPS URL where webhooks will be sent.
$events  : array<string|int, CreateWebhookEndpointEvents>|null
The events that the Webhook Endpoint is subscribed to.
$status  : WebhookEndpointStatus|null
Whether the Webhook Endpoint is enabled or disabled.

Methods

__construct()  : mixed
fromArray()  : self
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Properties

$endpointUrl

The HTTPS URL where webhooks will be sent.

public string|null $endpointUrl = null

Methods

__construct()

public __construct([string|null $endpointUrl = null ][, WebhookEndpointStatus|null $status = null ][, array<string|int, mixed>|null $events = null ]) : mixed
Parameters
$endpointUrl : string|null = null
$status : WebhookEndpointStatus|null = null
$events : array<string|int, mixed>|null = null

fromArray()

public static fromArray(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Return values
self

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results