The features area has 3 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).
featuresList
List features and whether each is on for the workspace
- Request:
GETon/v1/tenants/{tenantId}/features
featuresList(args: { tenantId: string }, options?: CallOptions): Promise<Record<string, unknown>>featuresOverrideDelete
Remove the workspace’s switch for a feature
- Request:
DELETEon/v1/tenants/{tenantId}/features/{featureId}/override
featuresOverrideDelete(args: { tenantId: string; featureId: string }, options?: CallOptions): Promise<Record<string, unknown>>featuresOverridePut
Switch a feature on or off for the workspace
- Request:
PUTon/v1/tenants/{tenantId}/features/{featureId}/override
featuresOverridePut(args: { tenantId: string; featureId: string; body: FeatureOverrideRequest }, options?: CallOptions): Promise<Record<string, unknown>>