(signUps)
- update - Update a sign-up
Update the sign-up with the given ID
declare(strict_types=1);
require 'vendor/autoload.php';
use Clerk\Backend;
use Clerk\Backend\Models\Operations;
$security = '<YOUR_BEARER_TOKEN_HERE>';
$sdk = Backend\ClerkBackend::builder()->setSecurity($security)->build();
$requestBody = new Operations\UpdateSignUpRequestBody();
$response = $sdk->signUps->update(
id: '<id>',
requestBody: $requestBody
);
if ($response->signUp !== null) {
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
id |
string | ✔️ | The ID of the sign-up to update |
requestBody |
?Operations\UpdateSignUpRequestBody | ➖ | N/A |
?Operations\UpdateSignUpResponse
Error Type | Status Code | Content Type |
---|---|---|
Errors\ClerkErrors93 | 403 | application/json |
Errors\SDKException | 4XX, 5XX | */* |