Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 1.67 KB

File metadata and controls

53 lines (32 loc) · 1.67 KB

AllowlistIdentifiers

(allowlistIdentifiers)

Overview

Available Operations

  • delete - Delete identifier from allow-list

delete

Delete an identifier from the instance allow-list

Example Usage

declare(strict_types=1);

require 'vendor/autoload.php';

use Clerk\Backend;

$security = '<YOUR_BEARER_TOKEN_HERE>';

$sdk = Backend\ClerkBackend::builder()->setSecurity($security)->build();



$response = $sdk->allowlistIdentifiers->delete(
    identifierId: '<id>'
);

if ($response->deletedObject !== null) {
    // handle response
}

Parameters

Parameter Type Required Description
identifierId string ✔️ The ID of the identifier to delete from the allow-list

Response

?Operations\DeleteAllowlistIdentifierResponse

Errors

Error Type Status Code Content Type
Errors\ClerkErrors47 402, 404 application/json
Errors\SDKException 4XX, 5XX */*