postNearbyAccessCode
postNearbyAccessCode<
ThrowOnError>(options:Options<PostNearbyAccessCodeData,ThrowOnError>):RequestResult<PostNearbyAccessCodeResponses,PostNearbyAccessCodeErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:1883Â
Redeem a People Nearby beta access code
Admits the calling account to the People Nearby beta. Idempotent: a repeat submit by an already-admitted account succeeds and consumes no seat. invalid_code is returned for both an unknown code and a mistyped one; code_expired, code_exhausted and code_revoked are distinct so the client can explain what happened.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostNearbyAccessCodeResponses, PostNearbyAccessCodeErrors, ThrowOnError>
Last updated on