Sign inGet started

bird trust gates verification check

Usage

Esempio di codice
bird trust gates verification check <slug> [flags]

Description

Verify a trust-gate code
Submits the one-time code a customer received, completing a code-verified requirement. Only when bird trust gates verification create answered with a channel; a provider-hosted requirement is finished in the browser and has no code to submit. Read the gate back afterwards to see the requirement move.
Build the request from flags, a JSON TrustVerificationCheck body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

Esempio di codice
# print the body shape (no credentials needed)
bird trust gates verification check --example

# the body it prints:
Esempio di codice
{
  "code": "493028"
}

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--codeThe one-time code you received. (required; or in --body-file)
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird trust gates verification createCreate a trust-gate verification