TypeScript SDKTypeScript signatures
client.apiKeys
TypeScript client.apiKeys signature, generated from CerealClient.
This is the TypeScript interface. See client setup and behavior.
interface ClientSurface {
readonly apiKeys: {
list(): Promise<ReadonlyArray<ApiKey>>;
create(input: {
readonly key: ApiKeyCreate;
}): Promise<ApiKeyCreated>;
update(input: {
readonly update: ApiKeyUpdate;
}): Promise<ApiKey>;
revoke(input: {
readonly id: string;
}): Promise<ApiKey>;
};
}For the wire contract, use HTTP reference. Composite helpers are explained in the API/SDK map.