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  : WebhookEndpointJsonStatus|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

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