cyberwave.rest.FeaturesApi
All URIs are relative to http://localhostsrc_app_api_features_delete_user_feature
src_app_api_features_delete_user_feature(user_uuid, feature)Delete User Feature Delete a user’s feature flag entirely (user falls back to org-level access). Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
Return type
void (empty response body)Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: Not defined
HTTP response details
src_app_api_features_disable_org_feature
src_app_api_features_disable_org_feature(enable_org_feature_request)Disable Org Feature Disable a feature for an organization. Staff can disable for any org, org owners/admins can disable for their own org.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
Return type
void (empty response body)Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: application/json
- Accept: Not defined
HTTP response details
src_app_api_features_enable_org_feature
OrgFeatureSchema src_app_api_features_enable_org_feature(enable_org_feature_request)Enable Org Feature Enable a feature for an organization. Staff can enable for any org, org owners/admins can enable for their own org.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
Return type
OrgFeatureSchemaAuthorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
src_app_api_features_get_available_features
AvailableFeaturesSchema src_app_api_features_get_available_features()Get Available Features Get list of all available features with metadata.
Example
Parameters
This endpoint does not need any parameter.Return type
AvailableFeaturesSchemaAuthorization
No authorization requiredHTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
src_app_api_features_get_my_features
MyFeaturesResponseSchema src_app_api_features_get_my_features()Get My Features Get all features and their status for the current user.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
This endpoint does not need any parameter.Return type
MyFeaturesResponseSchemaAuthorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
src_app_api_features_grant_user_feature
UserFeatureSchema src_app_api_features_grant_user_feature(grant_user_feature_request)Grant User Feature Grant a feature to a specific user. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
Return type
UserFeatureSchemaAuthorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
src_app_api_features_list_org_features
List[OrgFeatureSchema] src_app_api_features_list_org_features(feature=feature)List Org Features List all organization-level feature flags. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
Return type
List[OrgFeatureSchema]Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
src_app_api_features_list_user_features
List[UserFeatureSchema] src_app_api_features_list_user_features(feature=feature)List User Features List all user-level feature flags. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
Return type
List[UserFeatureSchema]Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
src_app_api_features_revoke_user_feature
src_app_api_features_revoke_user_feature(revoke_user_feature_request)Revoke User Feature Revoke a feature from a specific user. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
Return type
void (empty response body)Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: application/json
- Accept: Not defined
HTTP response details
src_app_api_features_search_users
List[UserSearchResultSchema] src_app_api_features_search_users(q)Search Users Search users by email or name for granting features. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
Return type
List[UserSearchResultSchema]Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: application/json