saveMarketplaceIntegrationCustomAccess method

Future<Object?> saveMarketplaceIntegrationCustomAccess({
  1. required Object integrationViewId,
  2. Map<String, Object?>? query,
  3. Object? body,
  4. Map<String, String>? headers,
})

POST /{version}/code/marketplace/integrations/{IntegrationViewId}/access/roles/custom

A custom access policy of the connection for one role (route 27). Body: roleId, basePackage, tools, functions, manage, newPolicyForThisRoleOnly.

Implementation

Future<Object?> saveMarketplaceIntegrationCustomAccess(
    {required Object integrationViewId,
    Map<String, Object?>? query,
    Object? body,
    Map<String, String>? headers}) {
  return transport.send(
    route:
        '/{version}/code/marketplace/integrations/{IntegrationViewId}/access/roles/custom',
    method: 'POST',
    query: query,
    body: body,
    headers: headers,
    pathParams: <String, Object?>{'IntegrationViewId': integrationViewId},
  );
}