(allowlistIdentifiers)
- delete - Delete identifier from allow-list
Delete an identifier from the instance allow-list
declare(strict_types=1);
require 'vendor/autoload.php';
use Clerk\Backend;
$sdk = Backend\ClerkBackend::builder()
->setSecurity(
'<YOUR_BEARER_TOKEN_HERE>'
)
->build();
$response = $sdk->allowlistIdentifiers->delete(
identifierId: '<id>'
);
if ($response->deletedObject !== null) {
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
identifierId |
string | ✔️ | The ID of the identifier to delete from the allow-list |
?Operations\DeleteAllowlistIdentifierResponse
Error Type | Status Code | Content Type |
---|---|---|
Errors\ClerkErrors | 402, 404 | application/json |
Errors\SDKException | 4XX, 5XX | */* |