WorkOS PHP SDK

DeleteGroupRoleAssignmentsByCriteria
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$resourceExternalId  : string|null
The external ID of the resource.
$resourceId  : string|null
The ID of the resource. Mutually exclusive with `resource_external_id` and `resource_type_slug`.
$resourceTypeSlug  : string|null
The resource type slug.
$roleSlug  : string
The slug of the role to remove assignments for.

Methods

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

Properties

Methods

__construct()

public __construct(string $roleSlug[, string|null $resourceId = null ][, string|null $resourceExternalId = null ][, string|null $resourceTypeSlug = null ]) : mixed
Parameters
$roleSlug : string
$resourceId : string|null = null
$resourceExternalId : string|null = null
$resourceTypeSlug : string|null = null

jsonSerialize()

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

Search results