aiAccountOrgsPlatformMetadataUpdateWithHttpInfo method
Future<Response>
aiAccountOrgsPlatformMetadataUpdateWithHttpInfo(
- String org, {
- IBLAIPlatformMeta? iBLAIPlatformMeta,
Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
Note: This method returns the HTTP Response.
Parameters:
-
String org (required):
-
IBLAIPlatformMeta iBLAIPlatformMeta:
Implementation
Future<Response> aiAccountOrgsPlatformMetadataUpdateWithHttpInfo(String org, { IBLAIPlatformMeta? iBLAIPlatformMeta, }) async {
// ignore: prefer_const_declarations
final path = r'/api/ai/account/orgs/{org}/platform-metadata/'
.replaceAll('{org}', org);
// ignore: prefer_final_locals
Object? postBody = iBLAIPlatformMeta;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}