WorkOS PHP SDK

AgentBlueprintsUpdateRequestInvocableBy
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Who may mint sessions from this blueprint. Omitted lists are left unchanged.

Table of Contents

Interfaces

JsonSerializable

Properties

$organizationIds  : array<string|int, string>|null
Organizations in which sessions may be minted from this blueprint, enforced on user-delegated, autonomous, and agent-delegated mints. An empty list allows any organization in the environment.
$roleSlugs  : array<string|int, string>|null
Role slugs whose members may mint user-delegated sessions from this blueprint. An empty list allows any member.

Methods

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

Properties

$organizationIds

Organizations in which sessions may be minted from this blueprint, enforced on user-delegated, autonomous, and agent-delegated mints. An empty list allows any organization in the environment.

public array<string|int, string>|null $organizationIds = null

$roleSlugs

Role slugs whose members may mint user-delegated sessions from this blueprint. An empty list allows any member.

public array<string|int, string>|null $roleSlugs = null

Methods

__construct()

public __construct([array<string|int, mixed>|null $roleSlugs = null ][, array<string|int, mixed>|null $organizationIds = null ]) : mixed
Parameters
$roleSlugs : array<string|int, mixed>|null = null
$organizationIds : array<string|int, mixed>|null = null

jsonSerialize()

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

Search results