Skip to content

AppTokenRequestSchema

This content is not available in your language yet.

const AppTokenRequestSchema: z.ZodObject<{
endUserId: z.ZodString;
ttlSeconds: z.ZodOptional<z.ZodNumber>;
}, "strict", z.ZodTypeAny, {
endUserId: string;
ttlSeconds?: number;
}, {
endUserId: string;
ttlSeconds?: number;
}>;

POST /v1/app-tokens 请求体:终端用户标识 + 可选 TTL(秒,[60, 86400])