The auth area has 2 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).
authLogout
End the CLI session that makes the call
- Request:
POSTon/v1/auth/logout
authLogout(args?: { body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>authSwitch
Act in another team you belong to (a person does this)
- Request:
POSTon/v1/auth/switch
authSwitch(args: { body: SwitchTeamRequest }, options?: CallOptions): Promise<Record<string, unknown>>