Workers
Durable Objects
Durable Objects endpoint reference.
List
Returns the Durable Object namespaces owned by an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
params | array | No | [] | Array containing the necessary params. |
php
$response = $client->workers()->durableObjects()->list('ACCOUNT_ID', []);
List Objects
Returns the Durable Object namespaces owned by an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
id | string | Yes | ID of the namespace. | |
params | array | No | [] | Array containing the necessary params. |
php
$response = $client->workers()->durableObjects()->listObjects('ACCOUNT_ID', 'ID', []);

