Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.53 KB

File metadata and controls

46 lines (28 loc) · 1.53 KB

TestingTokens

(testing_tokens)

Overview

Available Operations

  • create - Retrieve a new testing token

create

Retrieve a new testing token. Only available for development instances.

Example Usage

from clerk_backend_api import Clerk

with Clerk(
    bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as clerk:

    res = clerk.testing_tokens.create()

    assert res is not None

    # Handle response
    print(res)

Parameters

Parameter Type Required Description
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

models.TestingToken

Errors

Error Type Status Code Content Type
models.SDKError 4XX, 5XX */*