Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 2.45 KB

README.md

File metadata and controls

57 lines (36 loc) · 2.45 KB

SignUps

(signUps)

Overview

Available Operations

update

Update the sign-up with the given ID

Example Usage

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
}

Parameters

Parameter Type Required Description
id string ✔️ The ID of the sign-up to update
requestBody ?Operations\UpdateSignUpRequestBody N/A

Response

?Operations\UpdateSignUpResponse

Errors

Error Type Status Code Content Type
Errors\ClerkErrors93 403 application/json
Errors\SDKException 4XX, 5XX */*